1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-02-17 13:33:31 +01:00

run coverage report on nightly

This commit is contained in:
Nikolay Kim 2018-09-17 18:22:16 -07:00
parent e0f4aac3b4
commit c6eeae93d5

View File

@ -30,12 +30,12 @@ before_script:
script:
- |
if [[ "$TRAVIS_RUST_VERSION" != "stable" ]]; then
if [[ "$TRAVIS_RUST_VERSION" != "nightly" ]]; then
cargo clean
cargo test --features="ssl" -- --nocapture
fi
- |
if [[ "$TRAVIS_RUST_VERSION" == "stable" ]]; then
if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then
RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install -f cargo-tarpaulin
cargo tarpaulin --features="ssl" --out Xml --no-count
bash <(curl -s https://codecov.io/bash)