Fix codecov Travis build
@@ -36,7 +36,7 @@ matrix:
- cross test --target $TARGET
before_cache: |
- if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
+ if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then
RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin
fi
@@ -46,7 +46,7 @@ install:
after_success: |
- if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
+ if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then
RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin
# Uncomment the following line for coveralls.io
# cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID
