Skip to content

Commit

Permalink
cleanup-binary-tags should only be run on CI linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
Junfeng Li committed Jan 5, 2018
1 parent b394964 commit 44e5051
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 6 additions & 1 deletion ci/before_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 44e5051

Please sign in to comment.