summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2017-01-08 03:33:39 +0100
committerPali Rohár <pali.rohar@gmail.com>2017-01-08 03:33:39 +0100
commit4c8206b44fdeeb906b9a3c9d67b3a8b0f126df20 (patch)
treed43eecc4cff1624742f55cc5f54224e46430a7c1
parent9bf886c04169cd2ee6bb0916f3422d4d54e158f4 (diff)
download0xFFFF-4c8206b44fdeeb906b9a3c9d67b3a8b0f126df20.tar.bz2
travis: Enable clang and use separate job for Coverity
-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: