diff --git a/.travis.yml b/.travis.yml index 93c9be26..d3603f36 100644 --- a/.travis.yml +++ b/.travis.yml @@ -66,7 +66,6 @@ before_install: - if [[ "$TRAVIS_OS_NAME" == 'osx' ]]; then export PYCMD_VERSION="$(echo ${PYTHON} | cut -d . -f 1,2)" ; fi -- ./.travis/install-twine.sh - if [[ "$TRAVIS_OS_NAME" == 'osx' ]]; then export PYCMD_PATH="$(pyenv which python${PYCMD_VERSION})"; fi - if [[ "$TRAVIS_OS_NAME" == 'osx' ]]; then export PYCMD_DIRPATH="$( dirname ${PYCMD_PATH})" ; fi - if [[ "$TRAVIS_OS_NAME" == 'osx' ]]; then export PATH="${PYCMD_DIRPATH}:/Users/travis/.pyenv/shims:${PATH}"; fi diff --git a/.travis/deploy-with-twine.sh b/.travis/deploy-with-twine.sh index e70141ce..9549dcf7 100644 --- a/.travis/deploy-with-twine.sh +++ b/.travis/deploy-with-twine.sh @@ -7,5 +7,5 @@ make bdist_wheel if [ $TRAVIS_OS_NAME == "linux" && $TOXENV == "py37" ]; then make bdist_manylinux_amd64 ; fi #Upload to PyPi -twine upload --repository-url https://upload.pypi.org/legacy/ dist/* -twine upload --repository-url https://upload.pypi.org/legacy/ lib/skyapi/dist/* \ No newline at end of file +twine upload -u $PYPITEST_USER -p $PYPITEST_PWD --repository-url https://upload.pypi.org/legacy/ dist/* +twine upload -u $PYPITEST_USER -p $PYPITEST_PWD --repository-url https://upload.pypi.org/legacy/ lib/skyapi/dist/* \ No newline at end of file