Skip to content

Commit

Permalink
Added build script.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaneQi committed Jul 23, 2017
1 parent 79abd99 commit 0018362
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
11 changes: 1 addition & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,4 @@ services:
- docker

script:
- sudo docker run
-v `pwd`/:/ZEGBot
swift:latest
/bin/sh -c
"
apt-get update;
apt-get install uuid-dev -y;
cd ZEGBot;
swift build;
"
- sudo sh ./scripts/build.sh
10 changes: 10 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
sudo docker run \
-v `pwd`/:/ZEGBot \
swift:latest \
/bin/sh -c \
"\
apt-get update;\
apt-get install uuid-dev -y;\
cd ZEGBot;\
swift build;\
"

0 comments on commit 0018362

Please sign in to comment.