summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNadrieril2019-03-19 00:55:39 +0100
committerNadrieril2019-03-19 00:55:39 +0100
commit64411d7dff5fa4731cc99500936efd82a3d52874 (patch)
treed91aa74de646a7426f88f34ed0695c21ed621ad9
parent316c432af120172d8882af4288a952b627f026af (diff)
Cache tarpaulin build
Diffstat (limited to '')
-rw-r--r--.travis.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index ee40a68..f2db830 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,11 +9,9 @@ cache: cargo
rust:
- nightly-2019-03-15
-before_cache: |
- RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin
-
install:
- cargo build --release --all --all-features
+- cargo tarpaulin --version || RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin
script:
- cargo test --release --all --all-features