diff --git a/.travis.yml b/.travis.yml index 637f3d0..30214bf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,6 @@ language: python python: - "2.7" -script: python setup.py test +install: + - pip install tox +script: tox diff --git a/tox.ini b/tox.ini index ca12d56..9f872d1 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] -envlist = py26,py27,pypy +envlist = py27 [testenv] deps=nose mock coverage -commands=nosetests +commands=nosetests --with-coverage --cover-package=oca