joeheyming/redef — pull request #2 by msabramo (2012-07-10 07:33:12+00:00)
Title: Add support for tox (http://tox.testrun.org/) and Travis CI (http://travis-ci.org/)

Sample Travis CI build for my fork: http://travis-ci.org/#!/msabramo/redef/builds/1823815

To add support for Travis CI to your own GitHub repo, follow the instructions at http://about.travis-ci.org/docs/user/getting-started/ and then accept this pull request.

Sample tox output:

```
~/dev/git-repos/redef$ tox
GLOB sdist-make: /Users/marca/dev/git-repos/redef/setup.py
py25 sdist-reinst: /Users/marca/dev/git-repos/redef/.tox/dist/redef-1.1.zip
py25 runtests: commands[0]
.......
----------------------------------------------------------------------
Ran 7 tests in 0.005s

OK
py26 sdist-reinst: /Users/marca/dev/git-repos/redef/.tox/dist/redef-1.1.zip
py26 runtests: commands[0]
.......
----------------------------------------------------------------------
Ran 7 tests in 0.003s

OK
py27 sdist-reinst: /Users/marca/dev/git-repos/redef/.tox/dist/redef-1.1.zip
py27 runtests: commands[0]
.......
----------------------------------------------------------------------
Ran 7 tests in 0.004s

OK
_________________________________________________________________________ summary __________________________________________________________________________
py25: commands succeeded
py26: commands succeeded
py27: commands succeeded
congratulations :)
```