tox: restrain drf version (#42266)
This commit is contained in:
parent
5631b56ec8
commit
217315617a
8
tox.ini
8
tox.ini
|
@ -5,15 +5,14 @@
|
|||
|
||||
[tox]
|
||||
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/authentic2-cut/{env:BRANCH_NAME:}
|
||||
envlist = py{27,3}-coverage-dj111-pg
|
||||
envlist = py{27,3-coverage}-dj111-drf34
|
||||
|
||||
[testenv]
|
||||
# django.contrib.auth is not tested it does not work with our templates
|
||||
setenv =
|
||||
AUTHENTIC2_SETTINGS_FILE=tests/settings.py
|
||||
DJANGO_SETTINGS_MODULE=authentic2.settings
|
||||
sqlite: DB_ENGINE=django.db.backends.sqlite3
|
||||
pg: DB_ENGINE=django.db.backends.postgresql_psycopg2
|
||||
DB_ENGINE=django.db.backends.postgresql_psycopg2
|
||||
coverage: COVERAGE=--junitxml=test_{envname}_results.xml --cov-report xml --cov-report html --cov=src/ --cov-config .coveragerc
|
||||
fast: FAST=--nomigrations
|
||||
usedevelop =
|
||||
|
@ -22,7 +21,7 @@ usedevelop =
|
|||
deps =
|
||||
dj111: django>=1.11,<1.12
|
||||
dj111: django-tables2>=1.1,<2
|
||||
pg: psycopg2
|
||||
psycopg2
|
||||
coverage
|
||||
pytest-cov
|
||||
pytest-django<3.4.6
|
||||
|
@ -33,6 +32,7 @@ deps =
|
|||
pylint
|
||||
pylint-django<0.8.1
|
||||
django-webtest<1.9.3
|
||||
drf34: djangorestframework>=3.4,<3.4.1
|
||||
WebTest
|
||||
pyquery
|
||||
httmock
|
||||
|
|
Loading…
Reference in New Issue