-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtox.ini
29 lines (27 loc) · 936 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
[tox]
envlist = py{27,34}-dj{18,19,110,111}{,-coveralls},py34-dj{20,21,22,master}{,-coveralls},
basepython =
py27: python2.7
py34: python3.4
[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH CACHE_DIR
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/teryt_tree
commands =
dj111: {toxinidir}/manage.py makemigrations --check --dry-run
dj20: {toxinidir}/manage.py makemigrations --check --dry-run
dj21: {toxinidir}/manage.py makemigrations --check --dry-run
dj22: {toxinidir}/manage.py makemigrations --check --dry-run
coverage run --source teryt_tree runtests.py
coveralls: coveralls
deps =
dj20: Django==2.0.*
dj21: Django==2.1.*
dj22: Django==2.2.*
dj111: Django==1.10.*
dj110: Django==1.10.*
dj19: Django==1.9.*
dj18: Django==1.8.*
djmaster: https://github.com/django/django/archive/master.tar.gz
coveralls: coveralls
-r{toxinidir}/requirements-test.txt