Skip to content

Commit

Permalink
Update Travis CI config per cargo-travis example
Browse files Browse the repository at this point in the history
The previous Travis CI configuration was resulting in long build times
from cargo-travis being installed. This update should improve the build
times from only downloading / updating outdated packages.
  • Loading branch information
j-richey committed Nov 25, 2019
1 parent b5125d2 commit 761a3cb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Expand Up @@ -43,8 +43,11 @@ jobs:
sources:
- kalakris-cmake
before_script:
- cargo install --force cargo-travis
# Install / update outdated cached binaries.
- export PATH=$HOME/.cargo/bin:$PATH
- cargo install cargo-update || echo "cargo-update already installed"
- cargo install cargo-travis || echo "cargo-travis already installed"
- cargo install-update -a
- rustup component add clippy
- rustup component add rustfmt
after_success:
Expand Down

0 comments on commit 761a3cb

Please sign in to comment.