Skip to content

Commit

Permalink
removed tag requirement in .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyod committed Nov 23, 2018
1 parent dc3c89e commit 6275753
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,8 @@ before_script:
# If a tag was used, build wheels and deply to pypi
script:
- echo "$TRAVIS_TAG"
- if [ -n "$TRAVIS_TAG" ]; then
$PIP install cibuildwheel;
$PYTHON -m cibuildwheel --output-dir wheelhouse;
$PIP install twine;
$PYTHON -m twine upload dist/* -u tommyod -p $TWINE_PASSWORD --skip-existing;
$PYTHON -m twine upload wheelhouse/* -u tommyod -p $TWINE_PASSWORD --skip-existing;
fi
- $PIP install cibuildwheel;
$PYTHON -m cibuildwheel --output-dir wheelhouse;
$PIP install twine;
$PYTHON -m twine upload dist/* -u tommyod -p $TWINE_PASSWORD --skip-existing;
$PYTHON -m twine upload wheelhouse/* -u tommyod -p $TWINE_PASSWORD --skip-existing;

0 comments on commit 6275753

Please sign in to comment.