diff options
author | Aman Gupta <aman@tmm1.net> | 2015-10-02 19:02:01 -0700 |
---|---|---|
committer | Aman Gupta <aman@tmm1.net> | 2015-10-02 19:02:01 -0700 |
commit | a01fd5e93f58a2bf9dea4f577218b8ff7d874bbf (patch) | |
tree | 1f7ccef73f1e800749547a5be3e082331b0769e3 | |
parent | b33d97621d9e0c73d9512e74b44407394858eb08 (diff) | |
download | Nim-a01fd5e93f58a2bf9dea4f577218b8ff7d874bbf.tar.gz |
fail CI when tests fail
-rw-r--r-- | .travis.yml | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index ae2ac4f88..664466e2b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,21 +11,19 @@ before_script: - set -e - wget http://flatassembler.net/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 - cd csources - sh build.sh - cd .. - 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 -d:release -after_script: - - export PATH=$(pwd)/bin:$PATH - nim e install_nimble.nims - nimble update - nimble install zip - nimble install opengl - nimble install sdl1 - - ./koch test + - ./koch test --pedantic |