summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2018-06-03 11:06:53 +0800
committerJohn Hodge <tpg@mutabah.net>2018-06-03 11:06:53 +0800
commitb99e6d0a7581c626d6c31c37487548965df05735 (patch)
treeac8834182858da6a3b2f9048299ad10db5dda2d4
parent1e8435aa1506c7a77a5748b67a7ff1a1d25e4fb2 (diff)
downloadmrust-b99e6d0a7581c626d6c31c37487548965df05735.tar.gz
Travis CI - Stop build if libstd/hello fail to compile
-rw-r--r--.travis.yml13
1 files changed, 7 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index 682e81c2..117746b5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,14 +27,15 @@ install:
- make -C tools/minicargo
script:
- - make -f minicargo.mk output/libtest.hir
-# libstd and hello_world
- - make test TAIL_COUNT=2
-# rustc (DISABLED: llvm build)
-# - make -f minicargo.mk output/rustc
+ - set -e
+ - make -f minicargo.mk output/libtest.hir # libstd
+ - make test TAIL_COUNT=2 # hello_world
# Tests
+ - set +e
- make local_tests -k
# - CC=gcc-6 make rust_tests -k
-# cargo
+# rustc (DISABLED: llvm build)
+# - make -f minicargo.mk output/rustc
+# cargo (DISABLED: why?)
# - make -f minicargo.mk output/cargo
# - cat output/cargo-build/cargo_dbg.txt