diff options
-rw-r--r-- | .travis.yml | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index a569a1c..a441e0f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,14 +25,11 @@ matrix: 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-trusty-6.0 main" | sudo tee -a /etc/apt/sources.list - sudo apt-get update -qq - travis_retry sudo apt-get install clang-6.0 libclang-6.0-dev libclang-common-6.0-dev libllvm6.0 llvm-6.0-dev llvm-6.0 llvm-6.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: @@ -45,6 +42,7 @@ matrix: before_script: - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - sudo apt-get update -y + - sudo apt-get install build-essential -y - wget https://apt.llvm.org/llvm.sh - chmod +x llvm.sh - sudo ./llvm.sh 8 @@ -54,3 +52,19 @@ matrix: - make after_success: bash run.sh + - dist: xenial + sudo: required + language: cpp + before_script: + - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y + - sudo apt-get update -y + - sudo apt-get install build-essential -y + - wget https://apt.llvm.org/llvm.sh + - chmod +x llvm.sh + - sudo ./llvm.sh 9 + - git submodule init + - git submodule update + script: + - make + after_success: + bash run.sh |