aboutsummaryrefslogblamecommitdiffstats
path: root/.travis.yml
blob: 24b9f3bda1021c0ee2bc333acecc042a3d505b10 (plain) (tree)
1
2
3
4
5
6
7
8


                    
                   


                     
                     




                                                                                                  
                            
                                                                                        

                             
              



                                                   


                     
                     


                                                               


                                                                                                  
                                                                                        

                             
              






                                                   
                     




                                                                                                  
                            
                                                                                        

                             
              






                                                   
                     


                                                               


                                                                                                   
                                                                                            

                             
              
                                                     
                     
                    







                                                               


                                                                                                   






                                                                                            













                                                                                            
                                                     













                                                                                            
                                                     














                                                                                            
                  












                                                                                            
                                                                                                                                                                              
                  












                                                                                            
                                                                                                                                                                              














                                                                                                                                                                              
matrix:
  fast_finish: true
  include:
    - dist: bionic
      name: llvm7
      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-7  main"
      - sudo apt-get update
      - sudo apt-get install clang-7 llvm-7-dev libclang-common-7-dev libclang-7-dev -y
      - git submodule init
      - git submodule update
      script:
        - make CXX=clang-7 LLVM_CONF=llvm-config-7
      after_success:
        bash run.sh
    - dist: bionic
      name: llvm8
      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-8  main"
      - sudo apt-get update
      - sudo apt-get install clang-8 llvm-8-dev libclang-common-8-dev libclang-8-dev -y
      - git submodule init
      - git submodule update
      script:
        - make CXX=clang-8 LLVM_CONF=llvm-config-8
      after_success:
        bash run.sh
    - dist: bionic
      name: llvm9
      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-9  main"
      - sudo apt-get update
      - sudo apt-get install clang-9 llvm-9-dev libclang-common-9-dev libclang-9-dev -y
      - git submodule init
      - git submodule update
      script:
        - make CXX=clang-9 LLVM_CONF=llvm-config-9
      after_success:
        bash run.sh
    - dist: bionic
      name: llvm10
      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-10  main"
      - sudo apt-get update
      - 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
    - dist: bionic
      name: llvm12
      sudo: required
      language: cpp
      before_script:
      - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
      - sudo apt-get update -y
      - wget https://apt.llvm.org/llvm.sh
      - chmod +x llvm.sh
      - sudo ./llvm.sh 12
      - sudo apt-get install -y clang-12 llvm-12-dev libclang-common-12-dev libclang-12-dev
      - git submodule init
      - git submodule update
      script:
        - make CXX=clang-12 LLVM_CONF=llvm-config-12
    - dist: bionic
      name: llvm13
      sudo: required
      language: cpp
      before_script:
      - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
      - sudo apt-get update -y
      - wget https://apt.llvm.org/llvm.sh
      - chmod +x llvm.sh
      - sudo ./llvm.sh 13
      - sudo apt-get install -y clang-13 llvm-13-dev libclang-common-13-dev libclang-13-dev
      - git submodule init
      - git submodule update
      script:
        - make CXX=clang-13 LLVM_CONF=llvm-config-13
    - dist: bionic
      name: llvm14
      sudo: required
      language: cpp
      before_script:
      - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
      - sudo apt-get update -y
      - wget https://apt.llvm.org/llvm.sh
      - chmod +x llvm.sh
      - sudo ./llvm.sh 14
      - sudo apt-get install -y clang-14 llvm-14-dev libclang-common-14-dev libclang-14-dev
      - git submodule init
      - git submodule update
      script:
        - make CXX=clang-14 LLVM_CONF=llvm-config-14
    - dist: focal
      name: llvm15
      sudo: required
      language: cpp
      before_script:
      - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
      - sudo apt-get update -y
      - wget https://apt.llvm.org/llvm.sh
      - chmod +x llvm.sh
      - sudo ./llvm.sh 15
      - sudo apt-get install -y clang-15 llvm-15-dev libclang-common-15-dev libclang-15-dev
      - git submodule init
      - git submodule update
      script:
        - mkdir build && cd build && cmake ../ -DLLVM_CONF=llvm-config-15 -DCMAKE_CXX_COMPILER=clang++-15 -DUSE_MONOLITH_LIBTOOLING=OFF -DLLVM_PACKAGE_VERSION=15.0.0 && make
    - dist: focal
      name: llvm16
      sudo: required
      language: cpp
      before_script:
      - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
      - sudo apt-get update -y
      - wget https://apt.llvm.org/llvm.sh
      - chmod +x llvm.sh
      - sudo ./llvm.sh 16
      - sudo apt-get install -y clang-16 llvm-16-dev libclang-common-16-dev libclang-16-dev
      - git submodule init
      - git submodule update
      script:
        - mkdir build && cd build && cmake ../ -DLLVM_CONF=llvm-config-16 -DCMAKE_CXX_COMPILER=clang++-16 -DUSE_MONOLITH_LIBTOOLING=OFF -DLLVM_PACKAGE_VERSION=16.0.0 && make
    - dist: focal
      name: llvm17
      sudo: required
      language: cpp
      before_script:
      - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
      - sudo apt-get update -y
      - wget https://apt.llvm.org/llvm.sh
      - chmod +x llvm.sh
      - sudo ./llvm.sh 17
      - sudo apt-get install -y clang-17 llvm-17-dev libclang-common-17-dev libclang-17-dev
      - git submodule init
      - git submodule update
      script:
        - mkdir build && cd build && cmake ../ -DLLVM_CONF=llvm-config-17 -DCMAKE_CXX_COMPILER=clang++-17 -DUSE_MONOLITH_LIBTOOLING=OFF -DLLVM_PACKAGE_VERSION=17.0.0 && make