7 - TRAVIS_CVC4_CONFIG='production --enable-language-bindings=java,c'
8 - TRAVIS_CVC4_CONFIG='debug --enable-language-bindings=java,c'
9 - TRAVIS_CVC4_DISTCHECK=yes
11 # dhart/ppa is for cxxtest package, which doesn't appear officially until quantal
12 - travis_retry sudo apt-add-repository -y ppa:dhart/ppa
13 - travis_retry sudo apt-get update -qq
14 - travis_retry sudo apt-get install -qq libgmp-dev antlr3 libantlr3c-dev libboost-dev libboost-thread-dev swig2.0 libcln-dev cxxtest openjdk-7-jdk
16 - export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
17 - export PATH=$PATH:$JAVA_HOME/bin
18 - export JAVA_CPPFLAGS=-I$JAVA_HOME/include
20 - echo $TRAVIS_CVC4_CONFIG
21 - normal="$(echo -e '\033[0m')" red="$normal$(echo -e '\033[01;31m')" green="$normal$(echo -e '\033[01;32m')"
22 - ./configure --enable-unit-testing --enable-proof --with-portfolio $TRAVIS_CVC4_CONFIG || (echo; cat builds/config.log; echo; echo "${red}CONFIGURE FAILED${normal}"; exit 1)
24 - normal="$(echo -e '\033[0m')" red="$normal$(echo -e '\033[01;31m')" green="$normal$(echo -e '\033[01;32m')"
25 - if [ -n "$TRAVIS_CVC4_DISTCHECK" ]; then
26 make -j2 distcheck CVC4_REGRESSION_ARGS='--no-early-exit' || (echo; echo "${red}DISTCHECK FAILED${normal}"; echo; exit 1);
28 (make -j2 check CVC4_REGRESSION_ARGS='--no-early-exit' || (echo; echo "${red}BUILD/TEST FAILED${normal}"; echo; exit 1)) &&
29 (make check BINARY=pcvc4 CVC4_REGRESSION_ARGS='--fallback-sequential --no-early-exit' || (echo; echo "${red}PORTFOLIO TEST FAILED${normal}"; echo; exit 1)) &&
30 (make -j2 examples || (echo; echo "${red}COULD NOT BUILD EXAMPLES${normal}"; echo; exit 1));
32 (echo; echo "${green}EVERYTHING SEEMED TO PASS!${normal}")