Added a tox-test command that runs Flask tests with tox
This commit is contained in:
parent
2594602076
commit
c18f032a82
3 changed files with 9 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -7,3 +7,4 @@ dist
|
|||
*.egg
|
||||
*.egg-info
|
||||
_mailinglist
|
||||
.tox
|
||||
|
|
|
|||
3
Makefile
3
Makefile
|
|
@ -5,6 +5,9 @@ all: clean-pyc test
|
|||
test:
|
||||
python setup.py test
|
||||
|
||||
tox-test:
|
||||
PYTHONDONTWRITEBYTECODE= tox
|
||||
|
||||
ext-test:
|
||||
python tests/flaskext_test.py --browse
|
||||
|
||||
|
|
|
|||
5
tox.ini
Normal file
5
tox.ini
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
[tox]
|
||||
envlist=py25,py26,py27
|
||||
|
||||
[testenv]
|
||||
commands=make test
|
||||
Loading…
Add table
Add a link
Reference in a new issue