mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-10 19:56:59 +03:00
931b34e7de
This was added in #6139. However it seems [tox-venv is no longer maintained](https://github.com/tox-dev/tox-venv), the related [virtualenv issue has been closed](https://github.com/pypa/virtualenv/issues/355), and I suspect with the virtualenv rewrite fixed the problem with site.py and the warnings referred to for the DRF tests.
54 lines
1.3 KiB
YAML
54 lines
1.3 KiB
YAML
language: python
|
|
cache: pip
|
|
dist: bionic
|
|
matrix:
|
|
fast_finish: true
|
|
include:
|
|
|
|
- { python: "3.5", env: DJANGO=2.2 }
|
|
|
|
- { python: "3.6", env: DJANGO=2.2 }
|
|
- { python: "3.6", env: DJANGO=3.0 }
|
|
- { python: "3.6", env: DJANGO=3.1 }
|
|
- { python: "3.6", env: DJANGO=master }
|
|
|
|
- { python: "3.7", env: DJANGO=2.2 }
|
|
- { python: "3.7", env: DJANGO=3.0 }
|
|
- { python: "3.7", env: DJANGO=3.1 }
|
|
- { python: "3.7", env: DJANGO=master }
|
|
|
|
- { python: "3.8", env: DJANGO=3.0 }
|
|
- { python: "3.8", env: DJANGO=3.1 }
|
|
- { python: "3.8", env: DJANGO=master }
|
|
|
|
- { python: "3.9-dev", env: DJANGO=3.1 }
|
|
- { python: "3.9-dev", env: DJANGO=master }
|
|
|
|
- { python: "3.8", env: TOXENV=base }
|
|
- { python: "3.8", env: TOXENV=lint }
|
|
- { python: "3.8", env: TOXENV=docs }
|
|
|
|
- python: "3.8"
|
|
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-travis
|
|
|
|
script:
|
|
- tox
|
|
|
|
after_success:
|
|
- pip install codecov
|
|
- codecov -e TOXENV,DJANGO
|
|
|
|
notifications:
|
|
email: false
|