forked from wemake-services/django-split-settings
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
42 lines (39 loc) · 811 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
34
35
36
37
38
39
40
41
42
[tox]
envlist = py27-dj15, py{27,34}-dj{16,17}, py{27,34,35}-dj{18,19}, lint, cover
[testenv]
recreate = False
setenv =
DJANGO_SETTINGS_MODULE=tests.settings
deps =
pytest
six
dj15: django-discover-runner
dj15: Django<1.6
dj16: Django<1.7
dj17: Django<1.8
dj18: Django<1.9
dj19: Django>=1.9
commands =
py.test -rw .
[testenv:lint]
basepython = python2.7
deps =
pylint
pytest
six
commands =
pylint split_settings/ setup.py
pylint --ignore=settings tests/
[testenv:cover]
basepython = python2.7
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
setenv =
DJANGO_SETTINGS_MODULE=tests.settings
deps =
pytest
six
pytest-cov
coveralls
commands =
py.test --cov=split_settings --cov-report=html .
python {toxinidir}/run_coveralls.py