forked from django-webtest/django-webtest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
33 lines (31 loc) · 804 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[tox]
skip_missing_interpreters = true
envlist =
pypy-django19-std,
{py27,py34}-django{18,19,110,111}-{std,clocale,postgres},
{py35,py36,py37}-django{18,19,110,111,20}-{std,clocale,postgres}
[testenv]
deps=
pytest
pytest-django
postgres: psycopg2
django18: django >=1.8, < 1.9
django19: django >=1.9, < 1.9.9
django110: django >=1.10, < 1.11
django111: django >=1.11, < 2.0
django20: django ~= 2.0
setenv=
clocale: LC_ALL=C
postgres: USE_POSTGRES=True
DJANGO_SETTINGS_MODULE=settings
whitelist_externals = env
changedir=django_webtest_tests
commands=
env
python runtests.py
pytest test_pytest.py
[testenv:travis]
# use `tox -e travis` to update .travis.yml
basepython=python2.7
commands=
python django_webtest_tests/tox2travis.py