fix travis: stop on 1st error

This commit is contained in:
Timothee Cour 2019-01-28 00:41:01 -08:00 • committed by genotrance
commit 7f8b3ebe7d

View file

@ -13,6 +13,7 @@ cache:
- "$HOME/.choosenim/toolchains/nim-0.19.2" - "$HOME/.choosenim/toolchains/nim-0.19.2"
install: install:
- set -ue
- export CHOOSENIM_CHOOSE_VERSION=$BRANCH - export CHOOSENIM_CHOOSE_VERSION=$BRANCH
- | - |
curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh
@ -20,6 +21,7 @@ install:
- export PATH=$HOME/.nimble/bin:$PATH - export PATH=$HOME/.nimble/bin:$PATH
script: script:
- set -e
- nimble install -y - nimble install -y
- nimble test - nimble test
- nimble --nimbleDir:`pwd`/test install nimterop -y - nimble --nimbleDir:`pwd`/build/fakenimble install nimterop -y