forked from vstconsulting/polemarch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
54 lines (49 loc) · 1.09 KB
/
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
46
47
48
49
50
51
52
53
54
[tox]
envlist = py{27,34,35,36,3}-django{111,20}-{coverage,install}
skipsdist = True
whitelist_externals =
rm
bash
[testenv]
passenv = DJANGO_LOG_LEVEL
whitelist_externals =
rm
bash
commands =
install: bash -c "pip install dist/polemarch-$(python -c 'import polemarch; print(polemarch.__version__)').tar.gz"
coverage erase
coverage run --source='polemarch' -m polemarch test -v 2 {posargs}
coverage report -m
rm -rf .eggs build polemarch.egg-info dist
deps =
django111: django>=1.11, <2.0
django20: django>=2.0, <2.1
coverage: -rrequirements.txt
-rrequirements-test.txt
-rrequirements-git.txt
[testenv:pep]
deps =
pep8
commands =
pep8
[testenv:flake]
deps =
flake8
commands =
flake8 --config=.pep8 polemarch
[testenv:pylint]
deps =
pylint==1.6.5
pylint-django==0.7.2
pylint-plugin-utils==0.2.6
django>=1.11,<2.0
-rrequirements.txt
-rrequirements-git.txt
commands =
pylint --rcfile=./.pylintrc {posargs} polemarch
[testenv:build]
commands =
python setup.py compile -v
deps =
cython>=0.25.2
-rrequirements-doc.txt