Skip to content

Commit

Permalink
Remove code coverage from Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
str4d committed Nov 10, 2019
1 parent dcb8840 commit c2c7ca9
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,36 +14,12 @@ matrix:
- rust: nightly
fast_finish: true

env:
global:
- RUSTFLAGS="-C link-dead-code"

addons:
apt:
packages:
- libssl-dev
- cmake # also required for cargo-update

before_script:
- export PATH=$HOME/.cargo/bin:$PATH
- rustup component add rustfmt
- cargo install cargo-update || echo "cargo-update already installed"
- cargo install-update -a # update outdated cached binaries

script:
- cargo fmt -- --check
- cargo build --verbose --release
- cargo test --verbose --release
- cargo test --verbose --release -- --ignored

before_cache: |
rm -rf "$TRAVIS_HOME/.cargo/registry/src"
if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
cargo install cargo-tarpaulin
fi
after_success: |
if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
cargo tarpaulin --release --timeout 180 --out Xml
bash <(curl -s https://codecov.io/bash)
fi

0 comments on commit c2c7ca9

Please sign in to comment.