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"