Skip to content

Commit

Permalink
Enable Travis
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
DirectXMan12 committed May 6, 2015
1 parent fb51416 commit a701829
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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 changes: 2 additions & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
mox
nose
6 changes: 2 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a701829

Please sign in to comment.