| Index: tox.ini |
| =================================================================== |
| --- a/tox.ini |
| +++ b/tox.ini |
| @@ -1,23 +1,24 @@ |
| [tox] |
| -envlist = py27, py35, pypy, qa |
| +envlist = py27, py35, pypy, coverage |
| [testenv] |
| -commands = py.test tests |
| +commands = |
| + py.test tests |
| + flake8 abp tests setup.py |
| deps = |
| pytest |
| mock |
| - |
| -# This environment is for checking code quality: test coverage, PEP8, etc. |
| -# We have to install our package in development mode so that pytest-cov can |
| -# find the .coverage file. |
| -[testenv:qa] |
| -commands = |
| - py.test --cov=abp tests |
| - flake8 abp tests setup.py |
| -deps = |
| - pytest-cov |
| - mock |
| flake8 |
| pep8-naming |
| hg+https://hg.adblockplus.org/codingtools#egg=flake8-abp&subdirectory=flake8-abp |
| + |
| +[testenv:coverage] |
| +commands = |
| + py.test --cov=abp tests |
| +deps = |
| + pytest-cov |
| + mock |
| + |
| +# We have to install our package in development mode |
| +# so that pytest-cov can find the .coverage file. |
| usedevelop = true |