Skip to content

Commit

Permalink
Use nightly for coverage
Browse files Browse the repository at this point in the history
to workaround rustc 1.23 issue
  • Loading branch information
rfdonnelly committed Jan 21, 2018
1 parent 3bbfade commit a4e1932
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ after_success: |
if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then
cargo bench
fi
if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
# FIXME: cargo-tarpaulin does not work on rustc 1.23 stable or beta but it
# works on rustc 1.23 nightly. Change to stable when rust 1.24 is released.
if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then
bash <(curl https://raw.githubusercontent.com/xd009642/tarpaulin/master/travis-install.sh)
cargo tarpaulin --all --ciserver travis-ci --coveralls $TRAVIS_JOB_ID
fi

0 comments on commit a4e1932

Please sign in to comment.