-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathtox.ini
45 lines (38 loc) · 817 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
43
44
45
[tox]
downloadcache = {toxworkdir}/_download/
envlist = py27-dj18,coverage,pep8,pylint
[testenv]
commands = {envpython} manage.py test
[testenv:py27-dj18]
deps =
-rrequirements.txt
[testenv:pep8]
deps =
-rrequirements.txt
pep8
commands = {envbindir}/pep8 invideoquiz/
[testenv:pylint]
deps =
-rrequirements.txt
pylint
commands = {envbindir}/pylint invideoquiz/
[testenv:coverage]
deps =
-rrequirements.txt
coverage
setenv =
NOSE_COVER_TESTS=1
NOSE_WITH_COVERAGE=1
commands =
{envpython} manage.py test
[testenv:coveralls]
deps =
-rrequirements.txt
coveralls
setenv =
NOSE_COVER_TESTS=1
NOSE_WITH_COVERAGE=1
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
commands =
{envbindir}/coverage run --source=invideoquiz manage.py test
{envbindir}/coveralls