-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
37 lines (31 loc) · 947 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
[tox]
envlist =
tests-py{27}-dj{18,111}
tests-py{35,36}-dj{18,111,20}
flake8
flakeplus
isort
manifest
readme
[travis]
python =
2.7: py27, flake8, flakeplus, isort
[travis:after]
travis = python: 2.7
[testenv]
sitepackages = False
deps=
-r{toxinidir}/requirements/default.txt
-r{toxinidir}/requirements/test.txt
-r{toxinidir}/requirements/test-ci.txt
dj18: django>=1.8,<1.9
dj111: django>=1.11,<2.0
dj20: django>=2.0,<2.1
flake8,flakeplus,isort,manifest,readme: -r{toxinidir}/requirements/pkgutils.txt
commands =
tests: py.test -xv --cov=ideal --cov-report=term --cov-report=xml --no-cov-on-fail []
flake8: flake8 {toxinidir}/ideal {toxinidir}/tests
# flakeplus: flakeplus --2.7 {toxinidir}/ideal {toxinidir}/tests
isort: isort --recursive --check-only --diff {toxinidir}/ideal {toxinidir}/tests
manifest: check-manifest -v
readme: python setup.py check -r -s