Skip to content

Commit

Permalink
travis test deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
mkschreder committed Sep 2, 2016
1 parent b57485d commit 8451694
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 7 deletions.
23 changes: 20 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,25 @@
language: c
sudo: required
install:
script: ./travis-build.sh
after_success:
install:
script: "./travis-build.sh"
after_success:
deploy:
# Deploy the file(s) to the github release (other targets like amazon-aws or npm can be found here: http://docs.travis-ci.com/user/deployment/ )
provider: releases
# The oauth token for github (used by travis to upload the file(s) to github)
api_key:
# The api-key is encrypted like described here: http://docs.travis-ci.com/user/encryption-keys/ (only travis can decrypt the key)
secure: o+hi70GbV0El011SFoEcR3TaqcRguObgfMnWkVO6P+4Sr3LnxTG3/hyMO40PJPLJDL7LCHzTXY+l/WJNvf9QqhqJH+vZpDVcx5MhQhJ3xKv66cmbgopB9bNsUE/FY/R+FsxIZr8RQxkVJffpRUSKHqExEmpUe5zVQWWWGp+4gu1T1Unj/9xIoISAXsgKgkCOZPcSxs3FLPaFfg/LFDxZhpMEscuFO2C8srsLkhZ+vQn83P1KpDk21aHU8X3SIfaXqxLJYIncGItTaNnxOeKdpAoa9qnAaFc9jZIZf3kbpm0SxJHVlhcZt+kLwgaiI2/XwF7Igec520V07yfCvM6KEZl7LC9vw+Jd4gv3V8HWXX3bVCQ03o1VcRknk2S36VkxzdnqFrz3N5thJWq7rx4VhxdZqSycyO7mU+d3BmL6bb1puY1AKNrAZN/PM8rMcjLRzxLnjRDnJpGpPlYsThFwe3HJQeIwarb5RhAmQRrs8lFTJxHz4mhqWDykAaQotgKe2sqQhEkm/0+yBC8c1609z1L6A1idCeEKNcJ6af8Q5XD98xz4OLbGwJlGpcUWgK8RRbBVMrLQ2npVCVgDcn7h7jnCyJ12LY3tJ9RGl5T5VgidjI8bT32tPYOIH3WIBLeyB717LFe0z/8XZall0LOflPaeornLXpT9DXT67M/agzM=
# Which file(s) to upload
file: build_test.txt
# do not delete the files we're trying to upload
skip_cleanup: true
# only deploy if
on:
# we are on this repo
repo: mkschreder/juci-openwrt-feed
# and we are building a tag
tags: false
addons:
apt:
packages:
Expand Down
2 changes: 1 addition & 1 deletion openwrt-bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

rm -rf feeds

echo "src-git-full juci https://github.com/mkschreder/juci-openwrt-feed.git;v2.16.08" > feeds.conf
echo "src-git-full juci https://github.com/mkschreder/juci-openwrt-feed.git" > feeds.conf
cat feeds.conf.default >> feeds.conf

./scripts/feeds update -a
Expand Down
9 changes: 6 additions & 3 deletions travis-build.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
#!/bin/bash

echo "Hello World!" > build_test.txt
exit

git clone http://git.openwrt.org/15.05/openwrt.git openwrt
cp openwrt-bootstrap.sh openwrt
cd openwrt

./openwrt-bootstrap.sh
make
make V=s
ls -la bin/uml/
cd bin/uml
./openwrt-uml-vmlinux ubd0=$PWD/openwrt-uml-ext4.img eth0=tuntap,tap0
#cd bin/uml
#./openwrt-uml-vmlinux ubd0=$PWD/openwrt-uml-ext4.img eth0=tuntap,tap0

0 comments on commit 8451694

Please sign in to comment.