Skip to content
This repository has been archived by the owner on Jan 11, 2021. It is now read-only.

Commit

Permalink
Fix travis code coverage
Browse files Browse the repository at this point in the history
The installation steps for cargo-travis was deleted by mistake.
The CI jobs were succeeding because it was using cache, but recently
started to fail because the cache is gone. This fixes it.
  • Loading branch information
sunchao committed Jun 23, 2018
1 parent f7b2c22 commit ef5ca12
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ addons:
rust:
- nightly

before_script:
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
- cargo install cargo-travis || echo "Skipping cargo-travis installation as it is already cached"
- export PATH=$HOME/.cargo/bin:$PATH

script:
- cargo build
- cargo test
Expand Down

0 comments on commit ef5ca12

Please sign in to comment.