j2labs/brubeck — pull request #76 by msabramo (2012-06-22 01:43:38+00:00)
Title: Add support for tox (http://tox.testrun.org/) and Travis CI (http://travis-ci.org/)

Tox output:

```
[last: 0] marca@SCML-MarcA:~/dev/git-repos/brubeck$ tox
GLOB sdist-make: /Users/marca/dev/git-repos/brubeck/setup.py
py26 sdist-reinst: /Users/marca/dev/git-repos/brubeck/.tox/dist/brubeck-0.4.0.zip
py26 runtests: commands[0]
.........F.........................
======================================================================
FAIL: test__create_many (tests.test_queryset.TestRedisQueryset)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/marca/dev/git-repos/brubeck/tests/test_queryset.py", line 229, in test__create_many
self.assertEqual(self.queryset.MSG_CREATED, status)
AssertionError: 'Created' != 'Updated'

----------------------------------------------------------------------
Ran 35 tests in 0.061s

FAILED (failures=1)
ERROR: InvocationError: '/Users/marca/dev/git-repos/brubeck/.tox/py26/bin/nosetests --exe -w tests'
py27 sdist-reinst: /Users/marca/dev/git-repos/brubeck/.tox/dist/brubeck-0.4.0.zip
py27 runtests: commands[0]
.........F.........................
======================================================================
FAIL: test__create_many (tests.test_queryset.TestRedisQueryset)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/marca/dev/git-repos/brubeck/tests/test_queryset.py", line 229, in test__create_many
self.assertEqual(self.queryset.MSG_CREATED, status)
AssertionError: 'Created' != 'Updated'

----------------------------------------------------------------------
Ran 35 tests in 0.046s

FAILED (failures=1)
ERROR: InvocationError: '/Users/marca/dev/git-repos/brubeck/.tox/py27/bin/nosetests --exe -w tests'
_________________________________________________________________________ summary __________________________________________________________________________
ERROR: py26: commands failed
ERROR: py27: commands failed
```

Sample Travis CI build: http://travis-ci.org/#!/msabramo/brubeck/builds/1678588

To set up Travis CI on your own repo, see http://about.travis-ci.org/docs/user/getting-started/