File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 12
12
sudo : false
13
13
14
14
matrix :
15
- allow_failure :
15
+ allow_failures :
16
16
- rust : nightly
17
17
18
18
addons :
@@ -36,7 +36,7 @@ before_script:
36
36
- export PATH=$HOME/.cargo/bin:$PATH
37
37
- cargo install cargo-update || echo "cargo-update already installed"
38
38
- cargo install cargo-travis || echo "cargo-travis already installed"
39
- - RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo +nightly install cargo-tarpaulin || true
39
+ - RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo +stable install cargo-tarpaulin || true
40
40
- cargo install-update -a # update outdated cached binaries
41
41
- rustup component add clippy
42
42
@@ -50,11 +50,12 @@ script:
50
50
cargo doc --all --verbose &&
51
51
cargo clippy -- --warn clippy::pedantic
52
52
53
- after_success :
54
- - |
55
- cargo +nightly tarpaulin --verbose --out Xml &&
53
+ after_success : |
54
+ if [[ "$TRAVIS_RUST_VERSION" == stable ]] ; then
55
+ cargo tarpaulin --verbose --out Xml --ignore-tests &&
56
56
bash <(curl -s https://codecov.io/bash) &&
57
- cargo +nightly coveralls --verbose
57
+ cargo coveralls --verbose --exclude-pattern="tests/"
58
+ fi
58
59
59
60
env :
60
61
global :
Original file line number Diff line number Diff line change
1
+ ignore :
2
+ - " tests"
You can’t perform that action at this time.
0 commit comments