summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorD.B. Tsai <dbtsai@dbtsai.com>2012-08-22 16:14:04 -0700
committerD.B. Tsai <dbtsai@dbtsai.com>2012-08-27 20:02:30 -0700
commit82a8d0ea03833ad5fe779868437fa4c9811a7c78 (patch)
tree50a77ca5c16bce950659c862b6e52677c84135c1 /.travis.yml
parentc4681c0f31215227c9ecc5e7c2883671c02d1ade (diff)
downloadpython-mimeparse-82a8d0ea03833ad5fe779868437fa4c9811a7c78.tar.gz
Added tox for automation project testing, and travis-ci for continuous integration
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..b6cfd0b
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,19 @@
+language: python
+
+python:
+ - "2.7"
+
+env:
+ - TOXENV=py26
+ - TOXENV=py27
+ - TOXENV=py32
+ - TOXENV=py33
+ - TOXENV=pep8,pyflakes
+
+# command to install dependencies
+install:
+ - pip install tox
+
+# command to run tests
+script:
+ - tox