From d036e93a410d95a667835cb69f98449e6c9bbd53 Mon Sep 17 00:00:00 2001 From: Marc Abramowitz Date: Tue, 5 Jun 2012 21:33:05 -0700 Subject: [PATCH 1/3] Add .gitignore --- .gitignore | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .gitignore 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 From a005018a4ef5a72c1e3d4ab534de198cfe5d3f62 Mon Sep 17 00:00:00 2001 From: Marc Abramowitz Date: Tue, 5 Jun 2012 21:33:18 -0700 Subject: [PATCH 2/3] Add support for tox (http://tox.testrun.org/) --- tox.ini | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tox.ini 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 From 66c0217619b746d6ccb42cae8dd88cd71a0f21de Mon Sep 17 00:00:00 2001 From: Marc Abramowitz Date: Tue, 5 Jun 2012 21:51:56 -0700 Subject: [PATCH 3/3] Add .travis.yml for Travis CI (http://travis-ci.org/) --- .travis.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .travis.yml 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