diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2017-01-08 03:33:39 +0100 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2017-01-08 03:33:39 +0100 |
commit | 4c8206b44fdeeb906b9a3c9d67b3a8b0f126df20 (patch) | |
tree | d43eecc4cff1624742f55cc5f54224e46430a7c1 | |
parent | 9bf886c04169cd2ee6bb0916f3422d4d54e158f4 (diff) | |
download | 0xFFFF-4c8206b44fdeeb906b9a3c9d67b3a8b0f126df20.tar.bz2 |
travis: Enable clang and use separate job for Coverity
-rw-r--r-- | .travis.yml | 13 |
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: |