Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

Commit 979c0f1

Browse files
committed
Add a run-tests command to collect the test essentials
1 parent 6e86a46 commit 979c0f1

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

.travis.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,4 @@ python:
44
- "2.6"
55

66
install: pip install -r test-requirements.txt --use-mirrors
7-
script:
8-
pep8 park.py test_park.py
9-
pyflakes park.py test_park.py
10-
python setup.py test
7+
script: run-tests

MANIFEST.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
include README.rst
21
include LICENSE
2+
include README.rst
3+
include run-tests
34
include test_park.py
45
include test-requirements.txt

run-tests

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/sh
2+
3+
# Install the dependencies in test-requirements.txt before running
4+
# this script.
5+
6+
pep8 park.py test_park.py
7+
pyflakes park.py test_park.py
8+
python setup.py test

tox.ini

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,4 @@ deps=
66
-r{toxinidir}/test-requirements.txt
77

88
commands=
9-
pep8 park.py test_park.py
10-
pyflakes park.py test_park.py
11-
python setup.py test
9+
{toxinidir}/run-tests

0 commit comments

Comments
 (0)