Skip to content

Commit

Permalink
[skyapi] refs skycoin#131 testing upload to testPyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
e1Ru1o committed Jul 11, 2019
1 parent cfa829c commit 8bd5b65
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 17 deletions.
22 changes: 8 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,26 +139,20 @@ deploy:
tags: true
repo: skycoin/pyskycoin
condition: $TRAVIS_OS_NAME = "osx"
- provider: pypi
- provider: script
distributions: sdist
skip_cleanup: true
skip_existing: true
script: bash .travis/skyapi_deploy.sh
on:
branches:
only:
- /^release-.*$/
tags: true
repo: skycoin/pyskycoin
- provider: pypi
- provider: script
distributions: bdist_wheel
skip_cleanup: true
skip_existing: true
script: bash .travis/skyapi_deploy.sh
on:
branches:
only:
- /^release-.*$/
tags: true
repo: skycoin/pyskycoin
# on:
# branches:
# only:
# - /^release-.*$/
# tags: true
# repo: skycoin/pyskycoin
# TODO: Upload manylinux wheels to PyPI
5 changes: 2 additions & 3 deletions .travis/skyapi_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
echo "Installing twine"
python -m pip install twine

#Upload to PyPi
echo "Upload to PyPi"
twine upload -u $PYPI_USER -p $PYPI_PWD --repository-url https://upload.pypi.org/legacy/ lib/skyapi/dist/*
echo "Upload to testPyPI"
twine upload -u pyskycoin -p "prerelease_0.X" --repository-url https://test.pypi.org/legacy/ lib/skyapi/dist/*

0 comments on commit 8bd5b65

Please sign in to comment.