2020-07-02 06:16:38 +03:00
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
language: python
|
2020-07-01 00:02:54 +03:00
|
|
|
jobs:
|
2020-10-28 00:48:05 +03:00
|
|
|
include:
|
|
|
|
- python: 3.8
|
|
|
|
env: TOXENV=coveralls DEPENDENCY_INJECTOR_DEBUG_MODE=1
|
|
|
|
install:
|
|
|
|
- pip install tox
|
|
|
|
- pip install cython
|
|
|
|
- make cythonize
|
|
|
|
script: tox
|
|
|
|
- python: 3.6
|
|
|
|
env: TOXENV=pylint
|
|
|
|
install: pip install tox
|
|
|
|
script: tox
|
|
|
|
- python: 3.6
|
|
|
|
env: TOXENV=flake8
|
|
|
|
install: pip install tox
|
|
|
|
script: tox
|
|
|
|
- python: 3.6
|
|
|
|
env: TOXENV=pydocstyle
|
|
|
|
install: pip install tox
|
|
|
|
script: tox
|
|
|
|
- python: 3.6
|
|
|
|
env: TOXENV=mypy
|
|
|
|
install: pip install tox
|
|
|
|
script: tox
|
|
|
|
- python: 2.7
|
|
|
|
env: TOXENV=py27
|
|
|
|
install: pip install tox
|
|
|
|
script: tox
|
|
|
|
- python: 3.4
|
|
|
|
env: TOXENV=py34
|
|
|
|
install: pip install tox
|
|
|
|
script: tox
|
|
|
|
- python: 3.5
|
|
|
|
env: TOXENV=py35
|
|
|
|
install: pip install tox
|
|
|
|
script: tox
|
|
|
|
- python: 3.6
|
|
|
|
env: TOXENV=py36
|
|
|
|
install: pip install tox
|
|
|
|
script: tox
|
|
|
|
- python: 3.7
|
|
|
|
env: TOXENV=py37
|
|
|
|
install: pip install tox
|
|
|
|
script: tox
|
|
|
|
- python: 3.8
|
|
|
|
env: TOXENV=py38
|
|
|
|
install: pip install tox
|
|
|
|
script: tox
|
|
|
|
- python: pypy
|
|
|
|
env: TOXENV=pypy
|
|
|
|
install: pip install tox
|
|
|
|
script: tox
|
|
|
|
- python: pypy3
|
|
|
|
env: TOXENV=pypy3
|
|
|
|
install: pip install tox
|
|
|
|
script: tox
|
|
|
|
- python: 3.8
|
|
|
|
if: tag IS present
|
|
|
|
env: TWINE_USERNAME=__token__
|
|
|
|
install: pip install pip --upgrade
|
|
|
|
script: python setup.py sdist
|
|
|
|
after_success:
|
|
|
|
- python3 -m pip install twine
|
|
|
|
- python3 -m twine upload dist/*
|
|
|
|
- services: docker
|
|
|
|
if: tag IS present
|
|
|
|
env: TWINE_USERNAME=__token__
|
|
|
|
install: python3 -m pip install cibuildwheel==1.6.3
|
|
|
|
script: python3 -m cibuildwheel --output-dir wheelhouse
|
|
|
|
after_success:
|
|
|
|
- python3 -m pip install twine
|
|
|
|
- python3 -m twine upload wheelhouse/*.whl
|
2020-07-02 06:16:38 +03:00
|
|
|
- os: osx
|
2020-10-28 00:48:05 +03:00
|
|
|
if: tag IS present
|
2020-07-02 06:16:38 +03:00
|
|
|
language: shell
|
2020-10-28 00:19:32 +03:00
|
|
|
osx_image: xcode10.2
|
2020-07-02 06:16:38 +03:00
|
|
|
env: TWINE_USERNAME=__token__
|
2020-10-28 00:32:29 +03:00
|
|
|
install: python3 -m pip install cibuildwheel==1.6.3
|
2020-07-02 06:16:38 +03:00
|
|
|
script: python3 -m cibuildwheel --output-dir wheelhouse
|
|
|
|
after_success:
|
2020-10-28 00:32:29 +03:00
|
|
|
- python3 -m pip install twine
|
|
|
|
- python3 -m twine upload wheelhouse/*.whl
|
2020-07-02 06:16:38 +03:00
|
|
|
- os: windows
|
2020-10-28 00:48:05 +03:00
|
|
|
if: tag IS present
|
2020-07-02 06:16:38 +03:00
|
|
|
language: shell
|
|
|
|
env: TWINE_USERNAME=__token__
|
|
|
|
before_install:
|
2020-10-27 21:04:52 +03:00
|
|
|
- choco install python --version 3.8.6
|
2020-07-02 06:16:38 +03:00
|
|
|
- export PATH="/c/Python38:/c/Python38/Scripts:$PATH"
|
2020-10-28 00:18:38 +03:00
|
|
|
- ln -s /c/Python38/python.exe /c/Python38/python3.exe
|
2020-10-27 21:29:23 +03:00
|
|
|
install:
|
2020-10-27 21:36:11 +03:00
|
|
|
- python3 -m pip install certifi cibuildwheel==1.6.3
|
2020-10-27 21:29:23 +03:00
|
|
|
- export SSL_CERT_FILE=`python3 -c "import certifi;print(certifi.where())"`
|
|
|
|
- echo $SSL_CERT_FILE
|
2020-07-02 06:16:38 +03:00
|
|
|
script: python -m cibuildwheel --output-dir wheelhouse
|
|
|
|
after_success:
|
2020-10-28 00:32:29 +03:00
|
|
|
- python -m pip install twine
|
|
|
|
- python -m twine upload wheelhouse/*.whl
|
2017-11-27 20:31:23 +03:00
|
|
|
notifications:
|
2020-07-01 00:00:23 +03:00
|
|
|
slack:
|
|
|
|
rooms:
|
|
|
|
secure: CdWDgKnfYW7vvvoH3nS3yg3TcNZiYLRUyEp6ukQ4rQiiuR4+ltuvyGyFJWgP8r7VVJ9yHkB0jebCKWLUMsAEt1my33B6eMDEVefovpkdh2eJjGswmm80brt0EJULpgwPOtB1U47Mwca8L5jDW4KSv9RypUFRgn8eHDoWw6LKf5g=
|