travis: Update travis script for clang and libusb-1.0

This commit is contained in:
Pali Rohár committed 2016-01-23 16:27:35 +01:00
1 parent 2e9748e6a5
commit 2504f9e553
1 file changed
+9 -3
+9 -3
View File
@@ -1,10 +1,16 @@
language: c language: c
compiler: compiler:
- gcc - gcc
- clang
before_install: before_install:
- 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-1.0-0-dev
script: if [ ${COVERITY_SCAN_BRANCH} != 1 ]; then make ; fi script: if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then make ; fi
matrix:
exclude:
- compiler: clang
- env: COVERITY_SCAN_BRANCH=1
env: env:
global: global:
@@ -16,5 +22,5 @@ addons:
name: "pali/0xFFFF" name: "pali/0xFFFF"
description: "Build submitted via Travis CI" description: "Build submitted via Travis CI"
notification_email: pali.rohar@gmail.com notification_email: pali.rohar@gmail.com
build_command: "make" build_command: make
branch_pattern: master branch_pattern: master