aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml36
1 files changed, 31 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 4959ab3..1ebae5c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,10 +1,10 @@
-dist: trusty
-sudo: required
-language: cpp
matrix:
include:
- - before_script:
+ - dist: trusty
+ sudo: required
+ language: cpp
+ before_script:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo add-apt-repository ppa:fkrull/deadsnakes -y
- sudo apt-get update -y
@@ -18,7 +18,12 @@ matrix:
- git submodule update
script:
- make CXX=clang-5.0 LLVM_CONF=llvm-config-5.0
- - before_script:
+ after_success:
+ ./run.sh
+ - dist: trusty
+ sudo: required
+ language: cpp
+ before_script:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo add-apt-repository ppa:fkrull/deadsnakes -y
- sudo apt-get update -y
@@ -32,3 +37,24 @@ matrix:
- git submodule update
script:
- make CXX=clang-6.0 LLVM_CONF=llvm-config-6.0
+ after_success:
+ ./run.sh
+ - dist: xenial
+ sudo: required
+ language: cpp
+ before_script:
+ - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
+ - sudo add-apt-repository ppa:fkrull/deadsnakes -y
+ - sudo apt-get update -y
+ - wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|sudo apt-key add -
+ - echo "deb http://apt.llvm.org/trusty/ llvm-toolchain-xenial-9.0 main" | sudo tee -a /etc/apt/sources.list
+ - sudo apt-get update -qq
+ - travis_retry sudo apt-get install clang-9.0 libclang-9.0-dev libclang-common-9.0-dev libllvm9.0 llvm-9.0-dev llvm-9.0 llvm-9.0-runtime -y
+ - sudo apt-get install gcc-4.9 g++-4.9
+ - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9
+ - git submodule init
+ - git submodule update
+ script:
+ - make CXX=clang-9.0 LLVM_CONF=llvm-config-9.0
+ after_success:
+ ./run.sh