diff --git a/.gitignore b/.gitignore index 73d3e4e..87590aa 100644 --- a/.gitignore +++ b/.gitignore @@ -20,6 +20,7 @@ lib lib64 __pycache__ /MANIFEST +.tox # Installer logs. pip-log.txt diff --git a/setup.py b/setup.py index 5661d10..2debb3a 100644 --- a/setup.py +++ b/setup.py @@ -33,4 +33,5 @@ ], license=__license__, packages=find_packages(), + test_suite='pathspec.tests.test_gitignore.GitIgnoreTest', ) diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..3132be9 --- /dev/null +++ b/tox.ini @@ -0,0 +1,5 @@ +[tox] +envlist = py27, py33, py34, pypy + +[testenv] +commands = python setup.py test