diff --git a/.gitignore b/.gitignore index 1a10a8c9..52e9eb7f 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ locale/ *_trial_temp packages env/ +.tox/ diff --git a/.travis.yml b/.travis.yml index 6b9216cc..e295adab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,6 @@ language: python python: - "2.7" install: - - "pip install ." - - "pip install coverage" + - pip install tox script: - - "coverage run --source=lib -m py.test -v" - - "coverage report" + - tox diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..63211376 --- /dev/null +++ b/tox.ini @@ -0,0 +1,10 @@ +[tox] +envlist = py27 + +[testenv] +deps= + pytest + coverage +commands= + coverage run --source=lib -m py.test -v + coverage report