From 00d99c7e24e69e74b6d58a8ffd0833adf50e3e2f Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Thu, 7 May 2020 11:03:15 +0430 Subject: added llvm11 to travis --- .travis.yml | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8e954c9..6dbe14f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -55,7 +55,7 @@ matrix: - 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 libboost-system-dev libboost-filesystem-dev -y + - 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 - git submodule init - git submodule update script: @@ -73,7 +73,7 @@ matrix: - sudo wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - - sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-7 main" - sudo apt-get update - - sudo apt-get install clang-7 llvm-7-dev libclang-common-7-dev libclang-7-dev libboost-system-dev libboost-filesystem-dev -y + - sudo apt-get install clang-7 llvm-7-dev libclang-common-7-dev libclang-7-dev -y - git submodule init - git submodule update script: @@ -91,7 +91,7 @@ matrix: - sudo wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - - sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main" - sudo apt-get update - - sudo apt-get install clang-8 llvm-8-dev libclang-common-8-dev libclang-8-dev libboost-system-dev libboost-filesystem-dev -y + - sudo apt-get install clang-8 llvm-8-dev libclang-common-8-dev libclang-8-dev -y - git submodule init - git submodule update script: @@ -109,7 +109,7 @@ matrix: - sudo wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - - sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main" - sudo apt-get update - - sudo apt-get install clang-9 llvm-9-dev libclang-common-9-dev libclang-9-dev libboost-system-dev libboost-filesystem-dev -y + - sudo apt-get install clang-9 llvm-9-dev libclang-common-9-dev libclang-9-dev -y - git submodule init - git submodule update script: @@ -127,10 +127,28 @@ matrix: - sudo wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - - sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main" - sudo apt-get update - - sudo apt-get install clang-10 llvm-10-dev libclang-common-10-dev libclang-10-dev libboost-system-dev libboost-filesystem-dev -y + - sudo apt-get install clang-10 llvm-10-dev libclang-common-10-dev libclang-10-dev -y - git submodule init - git submodule update script: - make CXX=clang-10 LLVM_CONF=llvm-config-10 after_success: bash run.sh + - dist: bionic + name: llvm11 + 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 libstdc++-7-dev -y + - sudo wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - + - sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main" + - sudo apt-get update + - sudo apt-get install clang-11 llvm-11-dev libclang-common-11-dev libclang-11-dev -y + - git submodule init + - git submodule update + script: + - make CXX=clang-11 LLVM_CONF=llvm-config-11 + after_success: + bash run.sh -- cgit v1.2.3