mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 17:47:04 +03:00
296904099f
* Add Django 2.0 to tox/travis. Updated requirements * Drop Django 1.8 & 1.9
53 lines
835 B
YAML
53 lines
835 B
YAML
language: python
|
|
|
|
python:
|
|
- "2.7"
|
|
- "3.4"
|
|
- "3.5"
|
|
|
|
sudo: false
|
|
|
|
env:
|
|
- DJANGO=1.10
|
|
- DJANGO=1.11
|
|
- DJANGO=2.0
|
|
- DJANGO=master
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
include:
|
|
- python: "3.6"
|
|
env: DJANGO=master
|
|
- python: "3.6"
|
|
env: DJANGO=1.11
|
|
- python: "3.6"
|
|
env: DJANGO=2.0
|
|
- python: "2.7"
|
|
env: TOXENV="lint"
|
|
- python: "2.7"
|
|
env: TOXENV="docs"
|
|
exclude:
|
|
- python: "2.7"
|
|
env: DJANGO=master
|
|
- python: "2.7"
|
|
env: DJANGO=2.0
|
|
- python: "3.4"
|
|
env: DJANGO=master
|
|
|
|
allow_failures:
|
|
- env: DJANGO=master
|
|
- env: DJANGO=2.0
|
|
|
|
install:
|
|
- pip install tox tox-travis
|
|
|
|
script:
|
|
- tox
|
|
|
|
after_success:
|
|
- pip install codecov
|
|
- codecov -e TOXENV,DJANGO
|
|
|
|
notifications:
|
|
email: false
|