mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-29 04:54:00 +03:00
0407a0df8a
Thanks to Jon Dufresne (@jdufresne) for review. Co-authored-by: Asif Saif Uddin <auvipy@gmail.com> Co-authored-by: Rizwan Mansuri <Rizwan@webbyfox.com>
54 lines
1.3 KiB
YAML
54 lines
1.3 KiB
YAML
language: python
|
|
cache: pip
|
|
dist: xenial
|
|
matrix:
|
|
fast_finish: true
|
|
include:
|
|
|
|
- { python: "3.4", env: DJANGO=1.11 }
|
|
- { python: "3.4", env: DJANGO=2.0 }
|
|
|
|
- { python: "3.5", env: DJANGO=1.11 }
|
|
- { python: "3.5", env: DJANGO=2.0 }
|
|
- { python: "3.5", env: DJANGO=2.1 }
|
|
- { python: "3.5", env: DJANGO=2.2 }
|
|
|
|
- { python: "3.6", env: DJANGO=1.11 }
|
|
- { python: "3.6", env: DJANGO=2.0 }
|
|
- { python: "3.6", env: DJANGO=2.1 }
|
|
- { python: "3.6", env: DJANGO=2.2 }
|
|
- { python: "3.6", env: DJANGO=master }
|
|
|
|
- { python: "3.7", env: DJANGO=2.0 }
|
|
- { python: "3.7", env: DJANGO=2.1 }
|
|
- { python: "3.7", env: DJANGO=2.2 }
|
|
- { python: "3.7", env: DJANGO=master }
|
|
|
|
- { python: "3.7", env: TOXENV=base }
|
|
- { python: "3.7", env: TOXENV=lint }
|
|
- { python: "3.7", env: TOXENV=docs }
|
|
|
|
- python: "3.7"
|
|
env: TOXENV=dist
|
|
script:
|
|
- python setup.py bdist_wheel
|
|
- rm -r djangorestframework.egg-info # see #6139
|
|
- tox --installpkg ./dist/djangorestframework-*.whl
|
|
- tox # test sdist
|
|
|
|
allow_failures:
|
|
- env: DJANGO=master
|
|
|
|
install:
|
|
- pip install tox tox-venv tox-travis
|
|
|
|
script:
|
|
- tox
|
|
|
|
after_success:
|
|
- pip install codecov
|
|
- codecov -e TOXENV,DJANGO
|
|
|
|
notifications:
|
|
email: false
|