Skip to content

Commit

Permalink
Download tarpaulin instead of building it on Travis
Browse files Browse the repository at this point in the history
It's a lot faster to just get a binary that's prebuilt and works on
Travis.
  • Loading branch information
Ortham committed Aug 30, 2019
1 parent b4f3038 commit e7ad153
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,12 @@
sudo: required
language: rust

# Dependencies of tarpaulin
addons:
apt:
packages:
- libssl-dev


cache: cargo

install:
- rustup component add rustfmt-preview
- rustfmt --version
- |
if [[ $(cargo tarpaulin --version) != *0.8.4 ]]
then
cargo install --force cargo-tarpaulin
fi
- curl -fsSL https://github.com/xd009642/tarpaulin/releases/download/0.8.6/cargo-tarpaulin-0.8.6-travis.tar.gz | tar xz
- mv cargo-tarpaulin ~/.cargo/bin/

before_script:
- wget https://github.com/Ortham/testing-plugins/archive/1.4.0.tar.gz
Expand Down

0 comments on commit e7ad153

Please sign in to comment.