summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJames E. King III <jking@apache.org>2018-06-27 21:05:57 +0000
committerJames E. King III <jking@apache.org>2018-06-27 21:05:57 +0000
commita3a5909d1f61268e4d57c655eae2ee7784f11b65 (patch)
treee51938d96df4156ac338a73229f37a98db2b7e87 /.travis.yml
parentc7fe3f4e3dbe8dd3eed4dd371ec72e6bb9e651dd (diff)
downloadthrift-a3a5909d1f61268e4d57c655eae2ee7784f11b65.tar.gz
add coverity scan build automation to cron job on Travis CI
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index daee7b322..0559ec344 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -164,7 +164,16 @@ jobs:
- JOB="Debian Packages"
- SCRIPT="dpkg.sh"
- ### ------------------------- phase: osx -------------------------
+ # ------------------------- phase: coverity ---------------------
+ # We build the coverity scan build once monthly using a travis cron job
+ - if: (env(COVERITY_SCAN_NOTIFICATION_EMAIL) IS present) AND (branch IN (master)) AND (type IN (cron))
+ script: build/docker/run.sh
+ env:
+ - JOB="Coverity Scan"
+ - SCRIPT="covscan.sh"
+
+
+ ### ------------------------- phase: osx --------------------------
# disabled due to the time delays it imposes on build jobs
# - os: osx
# osx_image: xcode9