Skip to content

Commit

Permalink
travis: fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
arnetheduck committed Jan 25, 2019
1 parent 0272c84 commit b494c6d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
11 changes: 10 additions & 1 deletion .travis.yml
Expand Up @@ -7,5 +7,14 @@ os:
- linux

script:
- sh build-in-docker.sh
- sh start-docker.sh

after_success:
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- if [ "$TRAVIS_BRANCH" != "$TRAVIS_TAG" ] && [ "$TRAVIS_BRANCH" != "master" ]; then export TRAVIS_EVENT_TYPE=pull_request; fi
- bash upload.sh Stratus-x86_64.AppImage

branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)$/
4 changes: 0 additions & 4 deletions build-in-docker.sh
Expand Up @@ -16,8 +16,4 @@ export PATH=$PATH:$PWD/docker/nim/bin
export PKG_CONFIG_PATH=/opt/qt/5.12.0/gcc_64/lib/pkgconfig
export LD_LIBRARY_PATH=/opt/qt/5.12.0/gcc_64/lib/

cd ../..
nimble develop
cd examples/stratus

make clean appimage
4 changes: 2 additions & 2 deletions start-docker.sh
@@ -1,6 +1,6 @@
docker run -it --rm --device /dev/fuse \
-v /home/arnetheduck/status/nim-eth-p2p:/nim-eth-p2p:Z \
-w /nim-eth-p2p/examples/stratus \
-v $PWD:/stratus:Z \
-w /stratus \
--cap-add SYS_ADMIN \
a12e/docker-qt:5.12-gcc_64 \
sh build-in-docker.sh

0 comments on commit b494c6d

Please sign in to comment.