Enable Travis

This commit enables running the unit tests on Travis for Python 2.6,
2.7, 3.3, and 3.4.  Note that Travis does not support Python 2.4, so
we cannot test there.
This commit is contained in:
Solly Ross
2015-05-06 14:29:51 -04:00
parent 04fd789a67
commit 2e57ee3159
3 changed files with 14 additions and 4 deletions
+10
View File
@@ -0,0 +1,10 @@
language: python
python:
- 2.6
- 2.7
- 3.3
- 3.4
install: pip install -r test-requirements.txt
script: python setup.py nosetests --verbosity=3
+2
View File
@@ -0,0 +1,2 @@
mox
nose
+2 -4
View File
@@ -8,12 +8,10 @@ envlist = py24,py26,py27,py33,py34
[testenv]
commands = nosetests {posargs}
deps =
mox
nose
deps = -r{toxinidir}/test-requirements.txt
# At some point we should enable this since tox expects it to exist but
# the code will need pep8ising first.
# the code will need pep8ising first.
#[testenv:pep8]
#commands = flake8
#dep = flake8