summaryrefslogtreecommitdiff
path: root/.travis.yml
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 /.travis.yml
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 '.travis.yml')
-rw-r--r--.travis.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000000..6e18e06050
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,11 @@
+sudo: false
+language: python
+env:
+ - TOXENV=py26
+ - TOXENV=py27
+install:
+ - pip install tox
+script:
+ - tox
+after_success:
+ - coveralls