summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2018-03-08 16:03:01 -0800
committerGitHub <noreply@github.com>2018-03-08 16:03:01 -0800
commit5d19d98e0720ccaf993c45e2997297751a6fc1ba (patch)
tree4bd77cf568cf22e7c79e4d7bafb2486e28108d2b /.travis.yml
parentc6b2e085d4eb2c232a528a96e13fc7b65fd98fea (diff)
Fix Travis for unit test compilation errors. (#1651)
make units does not fail if we have compile error for a unit test, however, make check does. -Wsuggest-override is now explicitly disabled for unit tests since CxxTest does not add override keywords to the generated source code and thus get a lot of compiler warnings. Further, this fixes some issues introduced with #1647 due to make units not failing on Travis and fixes the nightly builds.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index e8c858d18..94cee00ab 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -81,9 +81,7 @@ script:
error "DISTCHECK (WITH NEWTHEORY TESTS) FAILED";
}
makeCheck() {
- make V=1 -j2 units || error "BUILD/UNIT TEST FAILED";
- make V=1 -j2 systemtests || error "BUILD/SYSTEM TEST FAILED";
- make V=1 -j2 regress0 CVC4_REGRESSION_ARGS='--no-early-exit' || error "BUILD/REGRESSION TEST FAILED";
+ make V=1 -j2 check REGRESSION_LEVEL=0 CVC4_REGRESSION_ARGS='--no-early-exit' || error "BUILD/UNIT/SYSTEM/REGRESSION TEST FAILED"
}
makeExamples() {
make V=1 -j2 examples || error "COULD NOT BUILD EXAMPLES${normal}";
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback