also upload coverage when on nightly

master
Paul Woolcock 6 years ago
parent 921a91f3d5
commit 2628c11655
  1. 2
      .travis.yml

@ -33,7 +33,7 @@ script:
if [[ "$TRAVIS_RUST_VERSION" == "nightly"* ]]; then cargo fmt --all -- --check; fi if [[ "$TRAVIS_RUST_VERSION" == "nightly"* ]]; then cargo fmt --all -- --check; fi
- cargo test $ELEFREN_FEATURES - cargo test $ELEFREN_FEATURES
after_success: | after_success: |
if [[ "$TRAVIS_RUST_VERSION" == stable ]] 2> /dev/null && [ -z "$ELEFREN_FEATURES" ] 2>/dev/null && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then if [[ "$TRAVIS_RUST_VERSION" == "nightly"* ]] 2> /dev/null && [ -z "$ELEFREN_FEATURES" ] 2>/dev/null && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID --features toml cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID --features toml
fi fi
matrix: matrix:

Loading…
Cancel
Save