summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJames Laska <jlaska@ansible.com>2015-03-10 19:38:37 -0400
committerJames Laska <jlaska@ansible.com>2015-03-13 08:20:24 -0400
commit3d67e9e0c0df18e5c82e62fdb79820724dbe2577 (patch)
treee0943c71ace01e7e05fb64e54c9edfe2d49cf7c9 /tox.ini
parentc8de03d516adeae9b899212569528be559c6209f (diff)
downloadansible-3d67e9e0c0df18e5c82e62fdb79820724dbe2577.tar.gz
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
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 7 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000000..7c86e7e08f
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,7 @@
+[tox]
+envlist = py26,py27
+
+[testenv]
+deps = -r{toxinidir}/test-requirements.txt
+whitelist_externals = make
+commands = make tests