mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-08 06:14:47 +03:00
Merge f19c1458d3
into 6ff5385996
This commit is contained in:
commit
24172a559f
|
@ -39,7 +39,10 @@ matrix:
|
||||||
- env: TOX_ENV=py34-djangomaster
|
- env: TOX_ENV=py34-djangomaster
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- pip install tox
|
- pip install tox python-coveralls
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- tox -e $TOX_ENV
|
- tox -e $TOX_ENV -- --cov=rest_framework
|
||||||
|
|
||||||
|
after_success:
|
||||||
|
- coveralls
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
# PyTest for running the tests.
|
# PyTest for running the tests.
|
||||||
pytest==2.6.4
|
pytest==2.6.4
|
||||||
pytest-django==2.8.0
|
pytest-django==2.8.0
|
||||||
|
pytest-cov
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -9,7 +9,7 @@ envlist =
|
||||||
{py27,py32,py33,py34}-django{17,18,master}
|
{py27,py32,py33,py34}-django{17,18,master}
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
commands = ./runtests.py --fast {posargs}
|
commands = py.test tests -q {posargs}
|
||||||
setenv =
|
setenv =
|
||||||
PYTHONDONTWRITEBYTECODE=1
|
PYTHONDONTWRITEBYTECODE=1
|
||||||
deps =
|
deps =
|
||||||
|
|
Loading…
Reference in New Issue
Block a user