diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-05-25 12:47:32 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-05-25 12:47:49 -0700 |
commit | 9531333e7ff6381e51e902d90e8ebc3e2bbb2208 (patch) | |
tree | 828098855dbfb456ea5cf7653e0316c34582d248 | |
parent | f7d3dc0eea180a6e5c233fdc493ad8f6cf1022e4 (diff) | |
download | mu-9531333e7ff6381e51e902d90e8ebc3e2bbb2208.tar.gz |
4248 -- simplify CI
-rw-r--r-- | .travis.yml | 4 | ||||
-rwxr-xr-x | test_layers | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 17aeee0a..38c05ead 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,10 +30,12 @@ matrix: - env: COMMAND=./test_layers CXX=clang++ START=edit3 - env: COMMAND=./test_layers CXX=clang++ START=edit4 - env: COMMAND=./test_layers CXX=g++ START=one-off # minimal testing for gcc - - env: COMMAND=./subx/test_layers + # other build scripts - env: COMMAND=./test_layers BUILD=build0 START=one-off - env: COMMAND=./test_layers BUILD=build1 START=one-off - env: COMMAND=./test_layers BUILD=build2 START=one-off + # other directories + - env: COMMAND=./subx/test_layers script: - $COMMAND $START $END diff --git a/test_layers b/test_layers index 9cbc12e5..47cb01b0 100755 --- a/test_layers +++ b/test_layers @@ -30,7 +30,7 @@ do if [[ $f < $1 ]]; then continue; fi if [[ $2 && $f > $2 ]]; then exit 0; fi echo "=== $f" - rm -rf .build mu.cc mu_bin core.mu # force full rebuild for top-level, but not subsidiary tools like tangle and cleave + ./clean top-level # preserve subsidiary tools like tangle and cleave ./$BUILD --until $f || exit 1 # valgrind requires Linux valgrind --leak-check=yes --num-callers=40 -q --error-exitcode=1 ./mu_bin test || exit 1 |