From 88521cd3f3fdc0cf1d530bef1e49a3d48dcd67d9 Mon Sep 17 00:00:00 2001 From: Timur Gilmullin Date: Sat, 23 Jul 2022 14:29:06 +0300 Subject: [PATCH] #3 Trying to use `twine==4.0.1` --- .travis.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index d270d4a..5106971 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,23 +13,24 @@ stages: jobs: include: - stage: env-test-build-publish - name: "PRE-BUILDING - TESTING - BUILDING - PUBLISHING to PyPI" + name: "Stages: PRE-BUILDING -> TESTING -> BUILDING -> PUBLISHING to PyPI" install: - - echo "PRE-BUILDING stage..." + - echo "---> Running PRE-BUILDING stage..." - python -m pip install --upgrade pip --force-reinstall - pip install setuptools==59.5.0 + - pip install twine==4.0.1 - pip install -r requirements.txt before_script: - export PYTHONPATH=$PYTHONPATH:$PWD:$PWD/tksbrokerapi:$PWD/tests - env script: - - echo "TESTING stage..." + - echo "---> Running TESTING stage..." - pytest tests -v --disable-pytest-warnings - - echo "BUILDING stage..." + - echo "---> Running BUILDING stage..." - python setup.py sdist bdist_wheel - - echo "PUBLISHING to PyPI stage..." + - echo "---> Running PUBLISHING to PyPI stage..." - python -m twine upload --verbose dist/* --skip-existing after_failure: - echo "Some issues occurred. See full logs." after_success: - - echo "All stages PRE-BUILDING - TESTING - BUILDING - PUBLISHING to PyPI — done" + - echo "All stages PRE-BUILDING -> TESTING -> BUILDING -> PUBLISHING to PyPI — done"