mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
- 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:
parent
4018f7b42a
commit
467e4ebe52
2 changed files with 37 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -4,4 +4,5 @@ docs/_build
|
|||
*.egg
|
||||
test.db
|
||||
build/
|
||||
.tox/
|
||||
.tox/
|
||||
htmlcov/
|
||||
|
|
|
|||
36
tox.ini
36
tox.ini
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue