diff options
author | Ben Bangert <ben@groovie.org> | 2016-02-15 08:33:09 -0800 |
---|---|---|
committer | Ben Bangert <ben@groovie.org> | 2016-02-15 08:33:09 -0800 |
commit | ae9b86a43a7fabcadcb28dfc5f8eff559b32ec59 (patch) | |
tree | dbd5af86c062b6a122d3598e2aca21730a866c22 | |
parent | 214d020970ad0b4012f3de5136f633c70a7a0220 (diff) | |
parent | 58971d84da8006c945d44969684eead93a91f09e (diff) | |
download | routes-ae9b86a43a7fabcadcb28dfc5f8eff559b32ec59.tar.gz |
Merge pull request #55 from haypo/tox
Add tox.ini
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | .travis.yml | 6 | ||||
-rw-r--r-- | tox.ini | 17 |
3 files changed, 20 insertions, 4 deletions
@@ -12,3 +12,4 @@ html_coverage .hgignore .idea *.iml +.tox/ diff --git a/.travis.yml b/.travis.yml index 2f9b500..65a02f6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,5 @@ python: matrix: allow_failures: - python: "nightly" -install: - - python setup.py develop - - pip install webob webtest coverage -script: python -bb $(which nosetests) +install: pip install tox-travis +script: tox @@ -0,0 +1,17 @@ +[tox] +envlist = py26,py27,py33,py34,pypy,pypy3 + +[testenv] +deps= + coverage + nose + webob + webtest +commands= + python -bb -m nose tests {posargs} + +[testenv:py26] +# Ony Python 2.6, python -m test doesn't work. Anyway, python -bb is only +# interested on Python 3. +commands= + nosetests tests {posargs} |