diff --git a/.travis.yml b/.travis.yml index 131f317c..a2014ae3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/.travis/skyapi_deploy.sh b/.travis/skyapi_deploy.sh index 79b79f26..bb439cc6 100755 --- a/.travis/skyapi_deploy.sh +++ b/.travis/skyapi_deploy.sh @@ -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/*