Skip to content

Commit

Permalink
Update tox-travis with newer django versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwoods committed Aug 9, 2017
1 parent 45941bf commit ad3379a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ cache:


jobs:
fast_finish: true
# allow_failures:
# - python: 3.5
# env: TOXENV=py35-django-dev-fix

include:
- stage: core
python: 2.7
Expand Down Expand Up @@ -47,6 +52,7 @@ jobs:
python: 2.7
env: TOXENV=py27-django-110


- stage: contrib
python: 3.3
env: TOXENV=py33-django-17
Expand Down Expand Up @@ -76,6 +82,12 @@ jobs:
- stage: contrib
python: 3.5
env: TOXENV=py35-django-110
- stage: contrib
python: 3.5
env: TOXENV=py35-django-111-fix
# - stage: contrib
# python: 3.5
# env: TOXENV=py35-django-dev-fix

- stage: contrib
python: 2.7
Expand Down
16 changes: 12 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,22 @@

[tox]
envlist =
# core
py{27,33,34,35}
pypy
flake8
# contrib
{py35,py36}-django-dev-fix
{py27,py35}-django-111-fix
{py27,py34,py35}-django-{18,19,110}
{py27,py33,py34,py35}-django-18
{py27,py33,py34}-django-17
py27-django-16
py35-django-dev
{py27,py35}-flask-{10,11}
py35-flask-12
py27-celery-{3,4}
py{27,33,34,35}
pypy
flake8


[testenv]
deps =
Expand All @@ -27,12 +33,14 @@ deps =
django-18: Django>=1.8,<1.9
django-19: Django>=1.9,<1.10
django-110: Django>=1.10,<1.11
# django-111: Django>=1.11,<1.12 TODO: update pytest_django
django-111: Django>=1.11,<1.12
django-dev: git+https://github.com/django/django.git#egg=Django
flask-10: Flask>=0.10,<0.11
flask-11: Flask>=0.11,<0.12
flask-12: Flask>=0.12,<0.13
celery-3: Celery>=3.1,<3.2
celery-4: Celery>=4.0,<4.1
fix: git+https://github.com/pytest-dev/pytest-django.git#egg=pytest_django
setenv =
PYTHONDONTWRITEBYTECODE=1
TESTPATH=tests
Expand Down

0 comments on commit ad3379a

Please sign in to comment.