updated tox and travis for django 2.1 alpha1

This commit is contained in:
Asif Saifuddin Auvi 2018-05-23 16:33:15 +06:00
parent 1ee3829a2f
commit 2634294667
2 changed files with 8 additions and 0 deletions

View File

@ -12,6 +12,7 @@ env:
- DJANGO=1.10 - DJANGO=1.10
- DJANGO=1.11 - DJANGO=1.11
- DJANGO=2.0 - DJANGO=2.0
- DJANGO=2.1
- DJANGO=master - DJANGO=master
matrix: matrix:
@ -20,6 +21,7 @@ matrix:
- { python: "3.6", env: DJANGO=master } - { python: "3.6", env: DJANGO=master }
- { python: "3.6", env: DJANGO=1.11 } - { python: "3.6", env: DJANGO=1.11 }
- { python: "3.6", env: DJANGO=2.0 } - { python: "3.6", env: DJANGO=2.0 }
- { python: "3.6", env: DJANGO=2.1 }
- { python: "2.7", env: TOXENV=lint } - { python: "2.7", env: TOXENV=lint }
- { python: "2.7", env: TOXENV=docs } - { python: "2.7", env: TOXENV=docs }
@ -38,10 +40,13 @@ matrix:
exclude: exclude:
- { python: "2.7", env: DJANGO=master } - { python: "2.7", env: DJANGO=master }
- { python: "2.7", env: DJANGO=2.0 } - { 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=master }
- { python: "3.4", env: DJANGO=2.1 }
allow_failures: allow_failures:
- env: DJANGO=master - env: DJANGO=master
- env: DJANGO=2.1
install: install:
- pip install tox tox-travis - pip install tox tox-travis

View File

@ -3,6 +3,7 @@ envlist =
{py27,py34,py35}-django110, {py27,py34,py35}-django110,
{py27,py34,py35,py36}-django111, {py27,py34,py35,py36}-django111,
{py34,py35,py36}-django20, {py34,py35,py36}-django20,
{py35,py36}-django21
{py35,py36}-djangomaster, {py35,py36}-djangomaster,
dist,lint,docs,readme, dist,lint,docs,readme,
@ -11,6 +12,7 @@ DJANGO =
1.10: django110 1.10: django110
1.11: django111 1.11: django111
2.0: django20 2.0: django20
2.1: django21
master: djangomaster master: djangomaster
[testenv] [testenv]
@ -23,6 +25,7 @@ deps =
django110: Django>=1.10,<1.11 django110: Django>=1.10,<1.11
django111: Django>=1.11,<2.0 django111: Django>=1.11,<2.0
django20: Django>=2.0,<2.1 django20: Django>=2.0,<2.1
django21: Django>=2.1a1,<2.2
djangomaster: https://github.com/django/django/archive/master.tar.gz djangomaster: https://github.com/django/django/archive/master.tar.gz
-rrequirements/requirements-testing.txt -rrequirements/requirements-testing.txt
-rrequirements/requirements-optionals.txt -rrequirements/requirements-optionals.txt