Just build on nightly because of tarpaulin
@@ -6,7 +6,7 @@ cache:
- /home/travis/.cargo
before_cache:
- - RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo +nightly install cargo-tarpaulin
+ - RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin
- rm -rf /home/travis/.cargo/registry
include_base: &BASE
addons:
@@ -32,8 +32,6 @@ include_base: &BASE
- cargo test --no-default-features --features "llvm${LLVM_VERSION_DASH}" --verbose
matrix:
- allow_failures:
- - rust: nightly
fast_finish: true
include:
- env:
@@ -47,9 +45,7 @@ matrix:
packages:
- *BASE_PACKAGES
- llvm-3.6-dev
- rust:
- - stable
- - nightly
+ rust: nightly
- env:
- LLVM_VERSION="3.7"
<<: *BASE
@@ -61,9 +57,7 @@ matrix:
packages:
- *BASE_PACKAGES
- llvm-3.7-dev
- rust:
- - stable
- - nightly
+ rust: nightly
- env:
- LLVM_VERSION="3.8"
<<: *BASE
@@ -75,9 +69,7 @@ matrix:
packages:
- *BASE_PACKAGES
- llvm-3.8-dev
- rust:
- - stable
- - nightly
+ rust: nightly
# 3.9 seems to have a linking issue :/
# - env:
# - LLVM_VERSION="3.9"
@@ -101,9 +93,7 @@ matrix:
packages:
- *BASE_PACKAGES
- llvm-4.0-dev
- rust:
- - stable
- - nightly
+ rust: nightly
- env:
- LLVM_VERSION="5.0"
<<: *BASE
@@ -115,6 +105,7 @@ matrix:
packages:
- *BASE_PACKAGES
- llvm-5.0-dev
+ rust: nightly
- env:
- LLVM_VERSION="6.0"
<<: *BASE
@@ -126,9 +117,7 @@ matrix:
packages:
- *BASE_PACKAGES
- llvm-6.0-dev
- rust:
- - stable
- - nightly
+ rust: nightly
- deploy: # Documentation build; Only latest supported LLVM version for now
provider: pages
skip-cleanup: true
@@ -172,7 +161,7 @@ env:
after_success: |
if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
- cargo +nightly tarpaulin --features "llvm${LLVM_VERSION_DASH}" --ignore-tests --out Xml
+ cargo tarpaulin --features "llvm${LLVM_VERSION_DASH}" --ignore-tests --out Xml
bash <(curl -s https://codecov.io/bash) || travis_terminate 1
fi
