only do cargo-tarpaulin on a single build
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ script:
|
||||
if [[ "$TRAVIS_RUST_VERSION" == "nightly"* ]]; then cargo fmt --all -- --check; fi
|
||||
- cargo test $ELEFREN_FEATURES
|
||||
after_success: |
|
||||
if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
|
||||
if [[ "$TRAVIS_RUST_VERSION" == stable ]] 2> /dev/null && [ -z "$ELEFREN_FEATURES" ]; then
|
||||
RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin
|
||||
cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID --features toml
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user