mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-07 22:04:48 +03:00
More tests with tox
This commit is contained in:
parent
f30fe10251
commit
1bbeb83c1f
|
@ -19,6 +19,7 @@ env:
|
||||||
# running pip install.
|
# running pip install.
|
||||||
- PIP_WHEEL_DIR=$HOME/.cache/pip/wheels
|
- PIP_WHEEL_DIR=$HOME/.cache/pip/wheels
|
||||||
- PIP_FIND_LINKS=file://$HOME/.cache/pip/wheels
|
- PIP_FIND_LINKS=file://$HOME/.cache/pip/wheels
|
||||||
|
- PIP_DOWNLOAD_CACHE=$HOME/.cache/pip
|
||||||
matrix:
|
matrix:
|
||||||
- TOX_ENV=py27-flake8
|
- TOX_ENV=py27-flake8
|
||||||
- TOX_ENV=py27-docs
|
- TOX_ENV=py27-docs
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
echo "$@"
|
|
||||||
pip wheel "$@"
|
|
||||||
pip install --upgrade "$@"
|
|
4
tox.ini
4
tox.ini
|
@ -6,10 +6,12 @@ envlist =
|
||||||
{py27,py32,py33,py34}-django{17,18beta}
|
{py27,py32,py33,py34}-django{17,18beta}
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
install_command = ./pip_install.sh {opts} {packages}
|
|
||||||
commands = ./runtests.py --fast
|
commands = ./runtests.py --fast
|
||||||
setenv =
|
setenv =
|
||||||
PYTHONDONTWRITEBYTECODE=1
|
PYTHONDONTWRITEBYTECODE=1
|
||||||
|
PIP_WHEEL_DIR=$HOME/.cache/pip/wheels
|
||||||
|
PIP_FIND_LINKS=file://$HOME/.cache/pip/wheels
|
||||||
|
PIP_DOWNLOAD_CACHE=$HOME/.cache/pi
|
||||||
deps =
|
deps =
|
||||||
django14: Django==1.4.11 # Should track minimum supported
|
django14: Django==1.4.11 # Should track minimum supported
|
||||||
django15: Django==1.5.6 # Should track minimum supported
|
django15: Django==1.5.6 # Should track minimum supported
|
||||||
|
|
Loading…
Reference in New Issue
Block a user