travis: Enable clang and use separate job for Coverity
This commit is contained in:
1 parent
9bf886c041
commit
4c8206b44f
1 file changed
+7
-6
+7
-6
@@ -2,15 +2,16 @@ language: c
|
|||||||
compiler:
|
compiler:
|
||||||
- gcc
|
- gcc
|
||||||
- clang
|
- clang
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- compiler: gcc
|
||||||
|
env: COVERITY=1
|
||||||
before_install:
|
before_install:
|
||||||
|
- if [ "$COVERITY" = "1" -a "$TRAVIS_BRANCH" != "master" ]; then exit 0; fi
|
||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
- sudo apt-get install -qq -y libusb-dev
|
- sudo apt-get install -qq -y libusb-dev
|
||||||
script: if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then make ; fi
|
- if [ "$COVERITY" != "1" ]; then make; exit $?; fi
|
||||||
|
script: true
|
||||||
matrix:
|
|
||||||
exclude:
|
|
||||||
- compiler: clang
|
|
||||||
- env: COVERITY_SCAN_BRANCH=1
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
|
|||||||
Reference in new issue
Block a user