Add tox and travis-ci support

Add tox integration to run unittests in supported python releases.
Travis-CI is used for test execution.

Additionally, the unittest TestQuotePgIdentifier was updated to support
using assert_raises_regexp on python-2.6.

Sample travis-ci output available at
https://travis-ci.org/ansible/ansible/builds/54189977
This commit is contained in:
James Laska
2015-03-10 19:38:37 -04:00
parent c8de03d516
commit 3d67e9e0c0
7 changed files with 29 additions and 2 deletions

1
.gitignore vendored
View File

@@ -42,6 +42,7 @@ deb-build
credentials.yml
# test output
.coverage
.tox
results.xml
coverage.xml
/test/units/cover-html