aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2015-05-13 01:37:58 +0000
committerlloyd <[email protected]>2015-05-13 01:37:58 +0000
commit96fa3e962d7f2e275f3810439c4ae3c7b58681bb (patch)
tree47da93e7f5c516d6c6bc39996709903ccc5ba7c0
parent7b4b387bb716f21db2473c8e5a81202a5c50a31e (diff)
Add Coverity scan to Travis.
-rw-r--r--.travis.yml15
-rwxr-xr-xsrc/scripts/ci/build.sh2
2 files changed, 16 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 2b533eb23..4bb708a9b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -33,3 +33,18 @@ after_success:
notifications:
+env:
+ global:
+ # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
+ # via the "travis encrypt" command using the project repo's public key
+ - secure: "g5vrCKeJwv+Brjlf1yuv/3FsJBVF9jVB+TmIyzXqTVzUk2LLFMNax04LaMTrQKHVrkXX/r/XdiTIl8/9EMqQGDx/kAPZpde5uJqy1aV8fE2IvYRj7sNSRm2smKNaioZnFYH6sm8dthoDARjxBY/nPmop0F6LVqSyRdZZVT9I/QY="
+
+addons:
+ coverity_scan:
+ project:
+ name: "randombit/botan"
+ description: "Build submitted via Travis CI"
+ notification_email: [email protected]
+ build_command_prepend: "./configure.py"
+ build_command: "make -j 4"
+ branch_pattern: coverity_scan
diff --git a/src/scripts/ci/build.sh b/src/scripts/ci/build.sh
index 8d87e6e45..2aa3e5458 100755
--- a/src/scripts/ci/build.sh
+++ b/src/scripts/ci/build.sh
@@ -13,5 +13,5 @@ fi
$CXX --version
python configure.py $CFG_FLAGS --cc=$CC --cc-bin=$CXX --with-openssl --with-sqlite --with-zlib
-make
+make -j 4
LD_LIBRARY_PATH=. ./botan-test