summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2014-03-31 16:07:58 -0400
committerMorgan Deters <mdeters@cs.nyu.edu>2014-03-31 18:55:11 -0400
commit9af3f271937cb9389f8e5b8f1b302f48bc6cdd9a (patch)
treee9c0b647d7179ea5e810e13dffc1bf1eb469e86b /.travis.yml
parentdbfaee57915e8f8ab07fa11ee6c412584fac56e5 (diff)
Travis-CI test for new-theory script, also related bugfixes.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 9b8482c00..10eea921b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,10 +22,16 @@ before_script:
script:
- normal="$(echo -e '\033[0m')" red="$normal$(echo -e '\033[01;31m')" green="$normal$(echo -e '\033[01;32m')"
- if [ -n "$TRAVIS_CVC4" ]; then
+ if [ -n "$TRAVIS_CVC4_DISTCHECK" ]; then
+ (contrib/new-theory test_newtheory || (echo; echo "${red}NEWTHEORY FAILED${normal}"; echo; exit 1)) &&
+ (grep -q '^THEORIES *=.* test_newtheory' src/Makefile.am || (echo; echo "${red}NEWTHEORY FAILED${normal}"; echo; exit 1)) &&
+ (contrib/new-theory --alternate test_newtheory test_newalttheory || (echo; echo "${red}NEWTHEORY-ALTERNATE FAILED${normal}"; echo; exit 1)) &&
+ (grep -q '^THEORIES *=.* test_newalttheory' src/Makefile.am || (echo; echo "${red}NEWTHEORY-ALTERNATE FAILED${normal}"; echo; exit 1));
+ fi;
echo "CVC4 config - $TRAVIS_CVC4_CONFIG" &&
(./configure --enable-unit-testing --enable-proof --with-portfolio $TRAVIS_CVC4_CONFIG || (echo; cat builds/config.log; echo; echo "${red}CONFIGURE FAILED${normal}"; exit 1)) &&
if [ -n "$TRAVIS_CVC4_DISTCHECK" ]; then
- make -j2 distcheck CVC4_REGRESSION_ARGS='--no-early-exit' || (echo; echo "${red}DISTCHECK FAILED${normal}"; echo; exit 1);
+ make -j2 distcheck CVC4_REGRESSION_ARGS='--no-early-exit' || (echo; echo "${red}DISTCHECK (WITH NEWTHEORY TESTS) FAILED${normal}"; echo; exit 1);
else
(make -j2 check CVC4_REGRESSION_ARGS='--no-early-exit' || (echo; echo "${red}BUILD/TEST FAILED${normal}"; echo; exit 1)) &&
(make check BINARY=pcvc4 CVC4_REGRESSION_ARGS='--fallback-sequential --no-early-exit' RUN_REGRESSION_ARGS= || (echo; echo "${red}PORTFOLIO TEST FAILED${normal}"; echo; exit 1)) &&
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback