- add configuration for python 3.4 with same django versions as for 3.3

- add coverage summary and html report for checking code coverage
This commit is contained in:
Sven Aßmann 2014-05-02 22:53:32 +02:00
parent 4018f7b42a
commit 467e4ebe52
2 changed files with 37 additions and 2 deletions

3
.gitignore vendored
View file

@ -4,4 +4,5 @@ docs/_build
*.egg
test.db
build/
.tox/
.tox/
htmlcov/

36
tox.ini
View file

@ -21,7 +21,7 @@ deps17 =
https://github.com/django/django/archive/master.zip#egg=django
commands =
python manage.py test -v2 {posargs:tests}
python manage.py test -v2 {posargs:tests} --failfast
[testenv:flake827]
@ -113,6 +113,24 @@ deps =
{[testenv]deps}
{[testenv]deps17}
[testenv:py34-1.5.x]
basepython = python3.4
deps =
{[testenv]deps}
{[testenv]deps15}
[testenv:py34-1.6.x]
basepython = python3.4
deps =
{[testenv]deps}
{[testenv]deps16}
[testenv:py34-1.7.x]
basepython = python3.4
deps =
{[testenv]deps}
{[testenv]deps17}
[testenv:pypy-1.4.x]
basepython = pypy
deps =
@ -136,3 +154,19 @@ basepython = pypy
deps =
{[testenv]deps}
{[testenv]deps17}
[testenv:coverage-py27-1.6.x]
basepython = python2.7
deps =
{[testenv]deps}
{[testenv]deps16}
commands = coverage erase
coverage run --source=. manage.py test -v2 {posargs:tests}
coverage report -m configurations/*py
coverage html configurations/*py
;[testenv:coverage-py34]
;basepython = python3.4
;commands = coverage run --source=configurations manage.py test && coverage report -m