From 761a3cb8393896335614a64e71bca9b1f02c4045 Mon Sep 17 00:00:00 2001 From: James Richey <49895469+j-richey@users.noreply.github.com> Date: Mon, 25 Nov 2019 15:10:19 -0800 Subject: [PATCH] Update Travis CI config per cargo-travis example 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. --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6812b21..15db2d2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: