From 5cfbaf672d8bbd4e540d449cbc4efaba7364ecfb Mon Sep 17 00:00:00 2001 From: ClementTsang Date: Wed, 8 Jul 2020 15:20:25 -0400 Subject: [PATCH] travis: move cargo install test to script rather than deploy --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 53d5324e..2a0382d8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,6 +43,7 @@ script: if [[ $TRAVIS_RUST_VERSION != "1.40.0" ]]; then cargo test --verbose --target $TARGET; fi + - cargo install --path . --target $TARGET before_cache: - rm -rf /home/travis/.cargo/git @@ -56,7 +57,6 @@ notifications: on_success: never before_deploy: - - cargo install --path . --target $TARGET - cargo update - | if [[ $TRAVIS_OS_NAME == "windows" ]]; then