unitedstates/congress-legislators — pull request #177 by hugovk (2014-04-03 12:04:52+00:00)
Title: Add test framework with Travis CI and Coveralls

Re:
https://github.com/unitedstates/congress-legislators/pull/176
https://github.com/unitedstates/congress/issues/118

To get you started, here's a test framework using Travis CI and Coveralls coverage. Both Travis CI and Coveralls are free for open source.

`.travis.yml` defines the build environments and commands. It uses nose to run tests. It finds all the tests (e.g. the sample `test_utils.py`) and runs them with coverage, and sends the report to Coveralls. For good measure, pep8 and pyflakes are run at the end of the CI build.

Before accepting the PR, go to Travis CI and Coveralls and enable this repo. That way'll you'll get a report for the merge.