2020-07-02 03:16:38 +00:00
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
language: python
|
2020-06-30 21:02:54 +00:00
|
|
|
jobs:
|
2017-01-29 21:54:33 +00:00
|
|
|
include:
|
2020-07-28 23:19:05 +00:00
|
|
|
- python: 3.8
|
2020-06-30 21:00:23 +00:00
|
|
|
env: TOXENV=coveralls DEPENDENCY_INJECTOR_DEBUG_MODE=1
|
|
|
|
install:
|
2020-07-02 03:16:38 +00:00
|
|
|
- pip install tox
|
|
|
|
- pip install cython
|
|
|
|
- make cythonize
|
|
|
|
script: tox
|
2020-06-30 21:00:23 +00:00
|
|
|
- python: 3.6
|
|
|
|
env: TOXENV=pylint
|
2020-07-02 03:16:38 +00:00
|
|
|
install: pip install tox
|
|
|
|
script: tox
|
2020-06-30 21:00:23 +00:00
|
|
|
- python: 3.6
|
|
|
|
env: TOXENV=flake8
|
2020-07-02 03:16:38 +00:00
|
|
|
install: pip install tox
|
|
|
|
script: tox
|
2020-06-30 21:00:23 +00:00
|
|
|
- python: 3.6
|
|
|
|
env: TOXENV=pydocstyle
|
2020-07-02 03:16:38 +00:00
|
|
|
install: pip install tox
|
|
|
|
script: tox
|
2020-08-27 02:24:20 +00:00
|
|
|
- python: 3.6
|
|
|
|
env: TOXENV=mypy
|
|
|
|
install: pip install tox
|
|
|
|
script: tox
|
2020-06-30 21:00:23 +00:00
|
|
|
- python: 2.7
|
|
|
|
env: TOXENV=py27
|
2020-07-02 03:16:38 +00:00
|
|
|
install: pip install tox
|
|
|
|
script: tox
|
2020-06-30 21:00:23 +00:00
|
|
|
- python: 3.4
|
|
|
|
env: TOXENV=py34
|
2020-07-02 03:16:38 +00:00
|
|
|
install: pip install tox
|
|
|
|
script: tox
|
2020-06-30 21:00:23 +00:00
|
|
|
- python: 3.5
|
|
|
|
env: TOXENV=py35
|
2020-07-02 03:16:38 +00:00
|
|
|
install: pip install tox
|
|
|
|
script: tox
|
2020-06-30 21:00:23 +00:00
|
|
|
- python: 3.6
|
|
|
|
env: TOXENV=py36
|
2020-07-02 03:16:38 +00:00
|
|
|
install: pip install tox
|
|
|
|
script: tox
|
2020-06-30 21:00:23 +00:00
|
|
|
- python: 3.7
|
|
|
|
env: TOXENV=py37
|
2020-07-02 03:16:38 +00:00
|
|
|
install: pip install tox
|
|
|
|
script: tox
|
2020-06-30 21:00:23 +00:00
|
|
|
- python: 3.8
|
|
|
|
env: TOXENV=py38
|
2020-07-02 03:16:38 +00:00
|
|
|
install: pip install tox
|
|
|
|
script: tox
|
2020-06-30 21:00:23 +00:00
|
|
|
- python: pypy
|
|
|
|
env: TOXENV=pypy
|
2020-07-02 03:16:38 +00:00
|
|
|
install: pip install tox
|
|
|
|
script: tox
|
2020-06-30 21:00:23 +00:00
|
|
|
- python: pypy3
|
|
|
|
env: TOXENV=pypy3
|
2020-07-02 03:16:38 +00:00
|
|
|
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
|
2020-07-02 03:18:41 +00:00
|
|
|
- python3 -m twine upload dist/*
|
2020-07-02 03:16:38 +00:00
|
|
|
- services: docker
|
|
|
|
if: tag IS present
|
|
|
|
env: TWINE_USERNAME=__token__
|
|
|
|
install: python3 -m pip install cibuildwheel==1.5.1
|
|
|
|
script: python3 -m cibuildwheel --output-dir wheelhouse
|
|
|
|
after_success:
|
|
|
|
- python3 -m pip install twine
|
2020-07-02 03:18:41 +00:00
|
|
|
- python3 -m twine upload wheelhouse/*.whl
|
2020-07-02 03:16:38 +00:00
|
|
|
- os: osx
|
|
|
|
if: tag IS present
|
|
|
|
language: shell
|
|
|
|
env: TWINE_USERNAME=__token__
|
|
|
|
install: python3 -m pip install cibuildwheel==1.5.1
|
|
|
|
script: python3 -m cibuildwheel --output-dir wheelhouse
|
|
|
|
after_success:
|
|
|
|
- python3 -m pip install twine
|
2020-07-02 03:18:41 +00:00
|
|
|
- python3 -m twine upload wheelhouse/*.whl
|
2020-07-02 03:16:38 +00:00
|
|
|
- os: windows
|
|
|
|
if: tag IS present
|
|
|
|
language: shell
|
|
|
|
env: TWINE_USERNAME=__token__
|
|
|
|
before_install:
|
|
|
|
- choco install python --version 3.8.0
|
|
|
|
- export PATH="/c/Python38:/c/Python38/Scripts:$PATH"
|
|
|
|
install: python -m pip install cibuildwheel==1.5.1
|
|
|
|
script: python -m cibuildwheel --output-dir wheelhouse
|
|
|
|
after_success:
|
|
|
|
- python -m pip install twine
|
2020-07-02 03:18:41 +00:00
|
|
|
- python -m twine upload wheelhouse/*.whl
|
2017-11-27 17:31:23 +00:00
|
|
|
notifications:
|
2020-06-30 21:00:23 +00:00
|
|
|
slack:
|
|
|
|
rooms:
|
|
|
|
secure: CdWDgKnfYW7vvvoH3nS3yg3TcNZiYLRUyEp6ukQ4rQiiuR4+ltuvyGyFJWgP8r7VVJ9yHkB0jebCKWLUMsAEt1my33B6eMDEVefovpkdh2eJjGswmm80brt0EJULpgwPOtB1U47Mwca8L5jDW4KSv9RypUFRgn8eHDoWw6LKf5g=
|