Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ace49e commit 1fe74edCopy full SHA for 1fe74ed
.travis.yml
@@ -7,16 +7,24 @@ addons:
7
- libssl-dev
8
cache: cargo
9
rust:
10
- - nightly
11
- - beta
12
- stable
+ - beta
+ - nightly
13
+matrix:
14
+ allow_failures:
15
+ - rust: nightly
16
+
17
+before_cache: |
18
+ if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then
19
+ RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin -f
20
+ fi
21
22
script:
23
- cargo clean
24
- cargo build
25
- cargo test
26
27
after_success: |
- if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
- RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin
28
29
cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID
30
fi
0 commit comments