Skip to content

Commit

Permalink
[skyapi] refs skycoin#131 normal deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
e1Ru1o committed Jul 14, 2019
1 parent f58eb4d commit fd1b1bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ script:
- make lint
# Test PySkycoin
- make test-ci
- bash ./.travis/skyapi_deploy.sh
after_failure:
- cat ./.tox/${TOXENV}/log/${TOXENV}-*.log
notifications:
Expand Down
11 changes: 3 additions & 8 deletions .travis/skyapi_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
echo "Installing twine"
python -m pip install twine

echo "Generating distribution archives before deploy"
make sdist
make bdist_wheel
if [ $TRAVIS_OS_NAME == "linux" ]; then make bdist_manylinux_amd64 ; fi

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

0 comments on commit fd1b1bc

Please sign in to comment.