mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-02 03:20:12 +03:00
Move to explicit Travis matrix
This commit is contained in:
parent
7f77340b33
commit
99c3f9ad5b
28
.travis.yml
28
.travis.yml
|
@ -1,22 +1,21 @@
|
|||
language: python
|
||||
cache: pip
|
||||
|
||||
python:
|
||||
- "2.7"
|
||||
- "3.4"
|
||||
- "3.5"
|
||||
|
||||
sudo: false
|
||||
|
||||
env:
|
||||
- DJANGO=1.11
|
||||
- DJANGO=2.0
|
||||
- DJANGO=2.1
|
||||
- DJANGO=master
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
include:
|
||||
- { python: "2.7", env: DJANGO=1.11 }
|
||||
|
||||
- { 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=master }
|
||||
|
||||
- { python: "3.6", env: DJANGO=master }
|
||||
- { python: "3.6", env: DJANGO=1.11 }
|
||||
- { python: "3.6", env: DJANGO=2.0 }
|
||||
|
@ -38,13 +37,6 @@ matrix:
|
|||
- tox --installpkg ./dist/djangorestframework-*.whl
|
||||
- tox # test sdist
|
||||
|
||||
exclude:
|
||||
- { python: "2.7", env: DJANGO=master }
|
||||
- { python: "2.7", env: DJANGO=2.0 }
|
||||
- { python: "2.7", env: DJANGO=2.1 }
|
||||
- { python: "3.4", env: DJANGO=master }
|
||||
- { python: "3.4", env: DJANGO=2.1 }
|
||||
|
||||
allow_failures:
|
||||
- env: DJANGO=master
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user