Skip to content

Commit

Permalink
Travis CI: Pin nightly to 2018-12-31 for now
Browse files Browse the repository at this point in the history
Waiting on rust-lang/rust#57344 to be merged.
  • Loading branch information
str4d committed Jan 5, 2019
1 parent 0be4a44 commit 63fe1be
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ cache: cargo
rust:
- stable
- beta
- nightly
- nightly-2018-12-31

matrix:
allow_failures:
- rust: nightly
- rust: nightly-2018-12-31
fast_finish: true

env:
global:
Expand All @@ -32,12 +33,12 @@ before_script:
- cargo install-update -a # update outdated cached binaries

before_cache: |
if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then
if [[ "$TRAVIS_RUST_VERSION" == nightly-2018-12-31 ]]; then
RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin
fi
after_success: |
if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then
if [[ "$TRAVIS_RUST_VERSION" == nightly-2018-12-31 ]]; then
cargo tarpaulin --timeout 180 --out Xml
bash <(curl -s https://codecov.io/bash)
fi

0 comments on commit 63fe1be

Please sign in to comment.