Skip to content

Commit

Permalink
Fix travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Zibi Braniecki committed Aug 24, 2018
1 parent 20dd327 commit 0b15854
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,17 @@ addons:
packages:
- libssl-dev

before_cache: |
if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin
fi
script:
- cargo build
- cargo test
- cargo doc

after_success: |
if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin
cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID
fi

0 comments on commit 0b15854

Please sign in to comment.