travis: Enable clang and use separate job for Coverity

This commit is contained in:
Pali Rohár committed 2017-01-08 03:33:39 +01:00
1 parent 9bf886c041
commit 4c8206b44f
1 file changed
+7 -6
+7 -6
View File
@@ -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: