forked from uppsaladatavetare/foobar-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
32 lines (29 loc) · 609 Bytes
/
Copy pathtox.ini
File metadata and controls
32 lines (29 loc) · 609 Bytes
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
[tox]
skipsdist = True
envlist =
py34-{1.10,1.11},
py35-{1.10,1.11},
py36-{1.10,1.11},
flake8
coverage
[testenv]
deps =
-r{toxinidir}/requirements/test.txt
1.10: Django<1.11
1.11: Django<1.12
setenv =
DJANGO_SETTINGS_MODULE=foobar.settings.test
commands =
python src/manage.py check
python src/manage.py test src/
[testenv:flake8]
deps = flake8
changedir = src/
commands = flake8 --exclude=migrations,settings .
[testenv:coverage]
basepython = python3.5
passenv = TOXENV CI TRAVIS TRAVIS_*
deps =
-r{toxinidir}/requirements/test.txt
Django<1.11
commands = coverage run src/manage.py test src/