From fd1b1bcfd968ff50b4b6872a330023d8db3b90ae Mon Sep 17 00:00:00 2001 From: Raul Date: Sat, 13 Jul 2019 22:39:57 -0400 Subject: [PATCH] [skyapi] refs #131 normal deploy --- .travis.yml | 1 - .travis/skyapi_deploy.sh | 11 +++-------- 2 files changed, 3 insertions(+), 9 deletions(-) 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/*