summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorSean V Kelley <seanvk@posteo.de>2017-01-29 13:27:19 -0800
committerSean V Kelley <seanvk@posteo.de>2017-01-29 13:27:19 -0800
commitea4fa9f18d5e9eb0f4828118875aff531358995f (patch)
treec95c00137ef4942faa2aa6293d4e130ed8a5f8b1 /.travis.yml
parent65a8fa5d563f13643c4da85b35ede61e2e79b29e (diff)
downloadlibva-ea4fa9f18d5e9eb0f4828118875aff531358995f.tar.gz
travis: Test coverity
Signed-off-by: Sean V Kelley <seanvk@posteo.de>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml17
1 files changed, 16 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 6777b30..1cb6534 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,8 +8,13 @@ os: linux
env:
global:
- NUM_THREADS=4
+ # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
+ # via the "travis encrypt" command using the project repo's public key
+ - secure: "Eu+ys+LW614J1wU1+i2qpfbSq9gFPvPq09XBgkK2hkDIEuouOX+G4ydpqc7Wg7+pv/P38KiUdbyoJtPxryvlwFYmuL/MEHPzjqVmxHuS0TpqwYE7Fh/44d/N9slGjD9Iv//pbabVrcrTptuJIRwH76GVsmec564uXd+yZGlR0c0="
+
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-
- pip install --user cpp-coveralls
- sudo apt-get -qq update
- sudo apt-get install -y build-essential
@@ -28,7 +33,17 @@ before_install:
- sudo apt-get install -y libx11-dev
- sudo apt-get install -y libxext-dev
- sudo apt-get install -y libxfixes-dev
-
+
+addons:
+ coverity_scan:
+ project:
+ name: "01org/libva"
+ description: "Build submitted via Travis CI"
+ notification_email: sean.v.kelley@intel.com
+ build_command_prepend: "./autogen.sh; ./configure --prefix=/usr"
+ build_command: "make -j4"
+ branch_pattern: master
+
script:
- ./autogen.sh
- ./configure --prefix=/usr