summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml13
1 files changed, 7 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index b623f9a..4399df4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,15 +2,16 @@ language: c
compiler:
- gcc
- clang
+matrix:
+ include:
+ - compiler: gcc
+ env: COVERITY=1
before_install:
+ - if [ "$COVERITY" = "1" -a "$TRAVIS_BRANCH" != "master" ]; then exit 0; fi
- sudo apt-get update -qq
- sudo apt-get install -qq -y libusb-dev
-script: if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then make ; fi
-
-matrix:
- exclude:
- - compiler: clang
- - env: COVERITY_SCAN_BRANCH=1
+ - if [ "$COVERITY" != "1" ]; then make; exit $?; fi
+script: true
env:
global: