fail CI when tests fail
This commit is contained in:
parent
b33d97621d
commit
a01fd5e93f
1 changed files with 4 additions and 6 deletions
10
.travis.yml
10
.travis.yml
|
|
@ -11,21 +11,19 @@ before_script:
|
||||||
- set -e
|
- set -e
|
||||||
- wget http://flatassembler.net/fasm-1.71.39.tgz
|
- wget http://flatassembler.net/fasm-1.71.39.tgz
|
||||||
- tar xvf fasm-1.71.39.tgz
|
- tar xvf fasm-1.71.39.tgz
|
||||||
- export PATH=$(pwd)/fasm:$PATH
|
|
||||||
script:
|
|
||||||
- git clone --depth 1 https://github.com/nim-lang/csources.git
|
- git clone --depth 1 https://github.com/nim-lang/csources.git
|
||||||
- cd csources
|
- cd csources
|
||||||
- sh build.sh
|
- sh build.sh
|
||||||
- cd ..
|
- cd ..
|
||||||
- sed -i -e 's,cc = gcc,cc = clang,' config/nim.cfg
|
- sed -i -e 's,cc = gcc,cc = clang,' config/nim.cfg
|
||||||
- ./bin/nim c koch
|
- export PATH=$(pwd)/bin:$(pwd)/fasm:$PATH
|
||||||
|
script:
|
||||||
|
- nim c koch
|
||||||
- ./koch boot
|
- ./koch boot
|
||||||
- ./koch boot -d:release
|
- ./koch boot -d:release
|
||||||
after_script:
|
|
||||||
- export PATH=$(pwd)/bin:$PATH
|
|
||||||
- nim e install_nimble.nims
|
- nim e install_nimble.nims
|
||||||
- nimble update
|
- nimble update
|
||||||
- nimble install zip
|
- nimble install zip
|
||||||
- nimble install opengl
|
- nimble install opengl
|
||||||
- nimble install sdl1
|
- nimble install sdl1
|
||||||
- ./koch test
|
- ./koch test --pedantic
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue