Use cargo-tarpaulin instead of kcov/cargo-travis (#46)
This commit is contained in:
parent
32a1cabf6e
commit
f72c28aab7
1 changed files with 7 additions and 18 deletions
25
.travis.yml
25
.travis.yml
|
|
@ -4,14 +4,7 @@ language: rust
|
|||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libcurl4-openssl-dev
|
||||
- libelf-dev
|
||||
- libdw-dev
|
||||
- binutils-dev
|
||||
- cmake
|
||||
sources:
|
||||
- kalakris-cmake
|
||||
|
||||
- libssl-dev
|
||||
|
||||
rust:
|
||||
- stable
|
||||
|
|
@ -22,16 +15,12 @@ matrix:
|
|||
allow_failures:
|
||||
- rust: nightly
|
||||
|
||||
before_install:
|
||||
- |
|
||||
cargo install cargo-travis &&
|
||||
export PATH=$HOME/.cargo/bin:$PATH
|
||||
|
||||
script:
|
||||
- |
|
||||
cargo build &&
|
||||
cargo test &&
|
||||
cargo bench
|
||||
- cargo build
|
||||
- cargo test
|
||||
|
||||
after_success:
|
||||
- "if [ $TRAVIS_RUST_VERSION = stable ]; then cargo coveralls; fi"
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_RUST_VERSION" == "stable" ]]; then
|
||||
bash <(curl https://raw.githubusercontent.com/xd009642/tarpaulin/master/travis-install.sh);
|
||||
cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID;
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue