diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..e67fa44d0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.pyc +*.egg-info +build +dist +.tox diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..ea3e804da --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +language: python + +python: + - 2.5 + - 2.6 + - 2.7 + # - 3.2 + # - pypy + +script: + - python setup.py clean + - python setup.py install + - python selftest.py diff --git a/tox.ini b/tox.ini new file mode 100644 index 000000000..505388e5f --- /dev/null +++ b/tox.ini @@ -0,0 +1,13 @@ +# Tox (http://tox.testrun.org/) is a tool for running tests +# in multiple virtualenvs. This configuration file will run the +# test suite on all supported python versions. To use it, "pip install tox" +# and then run "tox" from this directory. + +[tox] +envlist = py25, py26, py27 + +[testenv] +commands = + {envpython} setup.py clean + {envpython} setup.py install + {envpython} selftest.py