forked from romansalin/django-seo2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
51 lines (45 loc) · 1.19 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
[tox]
envlist =
skipsdist = True
lint,docs,
{py27,py33,py34}-django{17},
{py27,py33,py34,py35}-django{18},
{py27,py34,py35}-django{19}
[testenv]
commands =
coverage run setup.py test {posargs}
deps =
django17: Django==1.7
django18: Django==1.8
django19: Django==1.9
-rrequirements/requirements.txt
-rrequirements/requirements-testing.txt
[testenv:lint]
commands = flake8
deps =
-rrequirements/requirements-codestyle.txt
[testenv:docs]
commands = sphinx-build -b html -E docs/ docs/_build/
deps =
-rrequirements/requirements-doc.txt
[testenv:cover]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
commands =
coverage erase
coverage run setup.py test {posargs}
coverage combine
coverage report -m
coveralls
deps =
Django==1.9
-rrequirements/requirements.txt
-rrequirements/requirements-testing.txt
[testenv:release]
commands =
- python setup.py register -r pypi
- python setup.py sdist bdist_wheel upload -r pypi
deps =
-rrequirements/requirements-packaging.txt
[flake8]
exclude = .git,.tox,dist,docs,htmlcov,*egg,build
ignore = F401