Updated travis to build for LLVM 11
@@ -181,6 +181,22 @@ matrix:
- libclang-common-10-dev
rust: 1.42.0
dist: bionic
+ - env:
+ - LLVM_VERSION="11.0"
+ <<: *BASE
+ addons:
+ apt:
+ sources:
+ - *BASE_SOURCES
+ - llvm-toolchain-bionic-11
+ - sourceline: 'deb https://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main'
+ key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
+ packages:
+ - *BASE_PACKAGES
+ - llvm-11-dev
+ - libclang-common-11-dev
+ rust: 1.39.0
+ dist: bionic
- deploy: # Documentation build; Only latest supported LLVM version for now
provider: pages
skip-cleanup: true
@@ -190,10 +206,10 @@ matrix:
on:
branch: master
before_install:
- - export PATH=/usr/lib/llvm-10/bin/:$HOME/.local/bin:$PATH
- - export LLVM_PATH=/usr/share/llvm-10/cmake/
+ - export PATH=/usr/lib/llvm-11/bin/:$HOME/.local/bin:$PATH
+ - export LLVM_PATH=/usr/share/llvm-11/cmake/
script:
- - cargo doc --no-default-features --features "target-all,llvm10-0,nightly" --color=always
+ - cargo doc --no-default-features --features "target-all,llvm11-0,nightly" --color=always
- echo '<meta http-equiv="refresh" content="1; url=inkwell/index.html">' > target/doc/index.html
rust: nightly
name: "GitHub IO Documentation Deployment"
@@ -211,8 +227,9 @@ matrix:
# - llvm-toolchain-trusty-7
# - llvm-toolchain-trusty-8
# - llvm-toolchain-bionic-9
- - llvm-toolchain-bionic-10
- - sourceline: 'deb https://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main'
+ # llvm-toolchain-bionic-10
+ - llvm-toolchain-bionic-11
+ - sourceline: 'deb https://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
packages:
- *BASE_PACKAGES
@@ -226,7 +243,8 @@ matrix:
# - llvm-7-dev
# - llvm-8-dev
# - llvm-9-dev
- - llvm-10-dev
+ # llvm-10-dev
+ - llvm-11-dev
dist: bionic
env:
