summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTim King <taking@google.com>2016-09-25 15:18:31 -0700
committerTim King <taking@google.com>2016-09-25 15:18:31 -0700
commit197462bef8b5d19ca34dfeca00a76df837f27de2 (patch)
tree917211560ae1aa37f49c34235ee2456d984fb818 /.travis.yml
parentc44101ce0b85447205b0a28d0ea595fa062c1148 (diff)
Integrating a working coverity_scan travis rule back into master.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml25
1 files changed, 22 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index b1b8e0117..bb707536c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -100,24 +100,43 @@ script:
[ -n "$TRAVIS_CVC4" ] && [ -n "$TRAVIS_CVC4_DISTCHECK" ] && run makeDistcheck
[ -n "$TRAVIS_CVC4" ] && [ -z "$TRAVIS_CVC4_DISTCHECK" ] && run makeCheck && run makeCheckPortfolio && run makeExamples
[ -n "$TRAVIS_LFSC" ] && run LFSCchecks
- [ -z "$TRAVIS_CVC4" ] && [ -z "$TRAVIS_LFSC" ] && error "Unknown Travis-CI configuration"
+ [ -n "$TRAVIS_COVERITY" ] && echo "Running coverity. Skipping the normal build."
+ [ -z "$TRAVIS_CVC4" ] && [ -z "$TRAVIS_LFSC" ] && [ -z "$TRAVIS_COVERITY" ] && error "Unknown Travis-CI configuration"
echo "travis_fold:end:load_script"
- echo; echo "${green}EVERYTHING SEEMED TO PASS!${normal}"
matrix:
fast_finish: true
+ # Rule for running Coverity Scan.
include:
- os: linux
compiler: gcc
before_install: echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
+ env:
+ - TRAVIS_COVERITY=yes CVC4_REGRESSION_ARGS='--no-early-exit' CXXTEST="$HOME/cxxtest"
addons:
+ # Need to duplicate as addons will be over written.
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ packages:
+ - libgmp-dev
+ - libboost-dev
+ - libboost-thread-dev
+ - swig
+ - libcln-dev
+ - openjdk-7-jdk
+ - antlr3
+ - libantlr3c-dev
coverity_scan:
project:
name: "CVC4/CVC4"
description: "Build submitted via Travis CI"
notification_email: timothy.alan.king@gmail.com
- build_command_prepend: "./autogen.sh; ./configure --enable-unit-testing --enable-proof CXXTEST=$HOME/cxxtest"
- build_command: "make V=1 -j4 check CVC4_REGRESSION_ARGS='--no-early-exit'"
+ build_command_prepend: "./autogen.sh; ./configure --enable-unit-testing --enable-proof"
+ build_command: "make V=1 -j4 check"
branch_pattern: coverity_scan
+ after_failure:
+ - cat /home/travis/build/CVC4/CVC4/cov-int/build-log.txt
notifications:
email:
on_success: change
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback