Restore regular travis config

This commit is contained in:
Roman Mogylatov 2020-12-10 18:24:28 -05:00
parent d51a7565e4
commit 1c00243c09

View File

@ -3,122 +3,120 @@ dist: xenial
language: python language: python
jobs: jobs:
include: include:
# - python: 3.8 - python: 3.8
# env: TOXENV=coveralls DEPENDENCY_INJECTOR_DEBUG_MODE=1 env: TOXENV=coveralls DEPENDENCY_INJECTOR_DEBUG_MODE=1
# install: install:
# - pip install tox - pip install tox
# - pip install cython - pip install cython
# - make cythonize - make cythonize
# script: tox script: tox
# - python: 3.6 - python: 3.6
# env: TOXENV=pylint env: TOXENV=pylint
# install: pip install tox install: pip install tox
# script: tox script: tox
# - python: 3.6 - python: 3.6
# env: TOXENV=flake8 env: TOXENV=flake8
# install: pip install tox install: pip install tox
# script: tox script: tox
# - python: 3.6 - python: 3.6
# env: TOXENV=pydocstyle env: TOXENV=pydocstyle
# install: pip install tox install: pip install tox
# script: tox script: tox
# - python: 3.6 - python: 3.6
# env: TOXENV=mypy env: TOXENV=mypy
# install: pip install tox install: pip install tox
# script: tox script: tox
# - python: 2.7 - python: 2.7
# env: TOXENV=py27 env: TOXENV=py27
# install: pip install tox install: pip install tox
# script: tox script: tox
# - python: 3.4 - python: 3.4
# env: TOXENV=py34 env: TOXENV=py34
# install: pip install tox install: pip install tox
# script: tox script: tox
# - python: 3.5 - python: 3.5
# env: TOXENV=py35 env: TOXENV=py35
# install: pip install tox install: pip install tox
# script: tox script: tox
# - python: 3.6 - python: 3.6
# env: TOXENV=py36 env: TOXENV=py36
# install: pip install tox install: pip install tox
# script: tox script: tox
# - python: 3.7 - python: 3.7
# env: TOXENV=py37 env: TOXENV=py37
# install: pip install tox install: pip install tox
# script: tox script: tox
# - python: 3.8 - python: 3.8
# env: TOXENV=py38 env: TOXENV=py38
# install: pip install tox install: pip install tox
# script: tox script: tox
# - python: 3.9 - python: 3.9
# env: TOXENV=py39 env: TOXENV=py39
# install: pip install tox install: pip install tox
# script: tox script: tox
# - python: pypy - python: pypy
# env: TOXENV=pypy env: TOXENV=pypy
# install: pip install tox install: pip install tox
# script: tox script: tox
# - python: pypy3 - python: pypy3
# env: TOXENV=pypy3 env: TOXENV=pypy3
# install: pip install tox install: pip install tox
# script: tox script: tox
# - python: 3.8 - python: 3.8
# if: tag IS present if: tag IS present
# env: TWINE_USERNAME=__token__ env: TWINE_USERNAME=__token__
# install: pip install pip --upgrade install: pip install pip --upgrade
# script: python setup.py sdist script: python setup.py sdist
# after_success: after_success:
# - python3 -m pip install twine - python3 -m pip install twine
# - python3 -m twine upload dist/* - python3 -m twine upload dist/*
- services: docker - services: docker
# if: tag IS present if: tag IS present
env: env: TWINE_USERNAME=__token__
- TWINE_USERNAME=__token__ install: python3 -m pip install cibuildwheel==1.6.3
- TWINE_PASSWORD=pypi-AgENdGVzdC5weXBpLm9yZwIkYzc3OWQ4YWItODg3NC00N2I5LTk5YTQtZDg0ZDU5OWNlYTc0AAIleyJwZXJtaXNzaW9ucyI6ICJ1c2VyIiwgInZlcnNpb24iOiAxfQAABiDdkywf0c4ReNUr5nz-xa1Cy1Cict1aJ_hoqlp0iq1erg script: python3 -m cibuildwheel --output-dir wheelhouse
install: python3 -m pip install cibuildwheel==1.6.3 after_success:
script: python3 -m cibuildwheel --output-dir wheelhouse - python3 -m pip install twine
after_success: - python3 -m twine upload wheelhouse/*.whl
- python3 -m pip install --upgrade --upgrade-strategy eager twine - os: osx
- python3 -m twine upload --repository testpypi wheelhouse/*.whl if: tag IS present
# - os: osx language: shell
# if: tag IS present osx_image: xcode10.2
# language: shell env: TWINE_USERNAME=__token__
# osx_image: xcode10.2 install: python3 -m pip install cibuildwheel==1.6.3
# env: TWINE_USERNAME=__token__ script: python3 -m cibuildwheel --output-dir wheelhouse
# install: python3 -m pip install cibuildwheel==1.6.3 after_success:
# script: python3 -m cibuildwheel --output-dir wheelhouse - python3 -m pip install twine
# after_success: - python3 -m twine upload wheelhouse/*.whl
# - python3 -m pip install --upgrade --upgrade-strategy eager twine - os: windows
# - python3 -m twine upload wheelhouse/*.whl if: tag IS present
# - os: windows language: shell
# if: tag IS present env: TWINE_USERNAME=__token__
# language: shell before_install:
# env: TWINE_USERNAME=__token__ - choco install python --version 3.8.6
# before_install: - export PATH="/c/Python38:/c/Python38/Scripts:$PATH"
# - choco install python --version 3.8.6 - ln -s /c/Python38/python.exe /c/Python38/python3.exe
# - export PATH="/c/Python38:/c/Python38/Scripts:$PATH" install:
# - ln -s /c/Python38/python.exe /c/Python38/python3.exe - python3 -m pip install certifi cibuildwheel==1.6.3
# install: - export SSL_CERT_FILE=`python3 -c "import certifi;print(certifi.where())"`
# - python3 -m pip install certifi cibuildwheel==1.6.3 - echo $SSL_CERT_FILE
# - export SSL_CERT_FILE=`python3 -c "import certifi;print(certifi.where())"` script: python -m cibuildwheel --output-dir wheelhouse
# - echo $SSL_CERT_FILE after_success:
# script: python -m cibuildwheel --output-dir wheelhouse - python -m pip install twine
# after_success: - python -m twine upload wheelhouse/*.whl
# - python -m pip install --upgrade --upgrade-strategy eager twine - python: 3.8
# - python -m twine upload wheelhouse/*.whl if: branch = master
# - python: 3.8 install:
# if: branch = master - pip install -r requirements-doc.txt
# install: - pip install awscli
# - pip install -r requirements-doc.txt - pip install -e .
# - pip install awscli script: (cd docs && make clean html)
# - pip install -e . after_success:
# script: (cd docs && make clean html) - aws s3 sync docs/_build/html s3://python-dependency-injector-docs --delete
# after_success: - aws cloudfront create-invalidation --distribution-id ${AWS_CLOUDFRONT_DISTRIBUTION_ID} --path "/*" > /dev/null
# - aws s3 sync docs/_build/html s3://python-dependency-injector-docs --delete - echo "Cache invalidation triggered"
# - aws cloudfront create-invalidation --distribution-id ${AWS_CLOUDFRONT_DISTRIBUTION_ID} --path "/*" > /dev/null echo "Result: OK"
# - echo "Cache invalidation triggered" - python -m twine upload wheelhouse/*.whl
##echo "Result: OK"
# - python -m twine upload wheelhouse/*.whl
notifications: notifications:
slack: slack:
rooms: rooms: