Skip to content

Commit

Permalink
Add a run-tests command to collect the test essentials
Browse files Browse the repository at this point in the history
  • Loading branch information
pteichman committed Sep 20, 2012
1 parent 6e86a46 commit 979c0f1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@ python:
- "2.6"

install: pip install -r test-requirements.txt --use-mirrors
script:
pep8 park.py test_park.py
pyflakes park.py test_park.py
python setup.py test
script: run-tests
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include README.rst
include LICENSE
include README.rst
include run-tests
include test_park.py
include test-requirements.txt
8 changes: 8 additions & 0 deletions run-tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh

# Install the dependencies in test-requirements.txt before running
# this script.

pep8 park.py test_park.py
pyflakes park.py test_park.py
python setup.py test
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@ deps=
-r{toxinidir}/test-requirements.txt

commands=
pep8 park.py test_park.py
pyflakes park.py test_park.py
python setup.py test
{toxinidir}/run-tests

0 comments on commit 979c0f1

Please sign in to comment.