diff --git a/.travis.yml b/.travis.yml index 09701e2ac..e884c631b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,8 +27,6 @@ branches: before_install: - set -e - rustup self update - - sudo apt-get install --yes python3-pip - - sudo pip3 install semver install: - source ~/.cargo/env || true diff --git a/ci/before_deploy.sh b/ci/before_deploy.sh index 5ccfa8d15..cdb2c3e3f 100644 --- a/ci/before_deploy.sh +++ b/ci/before_deploy.sh @@ -37,4 +37,9 @@ for TARGET in "${TARGETS[@]}"; do package done -ci/cleanup-binary-tags.py +if [[ $TRAVIS_OS_NAME == 'linux' ]]; then + sudo apt-get install --yes python3-pip + sudo pip3 install semver + + ci/cleanup-binary-tags.py +fi