aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml10
1 files changed, 7 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index a4c86c3..b692bef 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,6 +17,11 @@ matrix:
build_command_prepend: "cov-configure --comptype clangcxx --compiler clang-3.9"
build_command: "make CXX=clang-3.9 LLVM_CONF=llvm-config-3.9 BUILD_MODE=COV_NO_CLANG"
branch_pattern: master
+ script: make CXX=clang-3.9 LLVM_CONF=llvm-config-3.9 BUILD_MODE=COV_NO_CLANG
+ include:
+ os: linux
+ compiler: clang
+ script: make CXX=clang-4.0 LLVM_CONF=llvm-config-4.0 BUILD_MODE=COV_NO_CLANG_1Z
before_install:
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
@@ -27,6 +32,5 @@ before_script:
- wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|sudo apt-key add -
- echo "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-3.9 main" | sudo tee -a /etc/apt/sources.list
- sudo apt-get update -qq
- - travis_wait 30 sudo apt-get install clang-3.9 libclang-3.9-dev libclang-common-3.9-dev libllvm3.9 llvm-3.9-dev llvm-3.9 -y
- #- sudo apt-get install clang-4.0 libclang-common-4.0-dev libclang-4.0-dev libclang1-4.0 libclang1-4.0-dbg libllvm4.0 libllvm4.0-dbg lldb-4.0 llvm-4.0 llvm-4.0-dev llvm-4.0-runtime lldb-4.0-dev liblldb-4.0-dbg
-script: make CXX=clang-3.9 LLVM_CONF=llvm-config-3.9 BUILD_MODE=COV_NO_CLANG \ No newline at end of file
+ - travis_retry sudo apt-get install clang-3.9 libclang-3.9-dev libclang-common-3.9-dev libllvm3.9 llvm-3.9-dev llvm-3.9 -y
+ - travis_retry sudo apt-get install clang-4.0 libclang-4.0-dev libclang-common-4.0-dev libllvm4.0 llvm-4.0-dev llvm-4.0 -y