From b99e6d0a7581c626d6c31c37487548965df05735 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 3 Jun 2018 11:06:53 +0800 Subject: Travis CI - Stop build if libstd/hello fail to compile --- .travis.yml | 13 +++++++------ 1 file 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 -- cgit v1.2.3