OLD | NEW |
1 [tox] | 1 [tox] |
2 envlist = py27, py35, pypy, qa | 2 envlist = py27, py35, pypy, coverage |
3 | 3 |
4 [testenv] | 4 [testenv] |
5 commands = py.test tests | 5 commands = |
| 6 py.test tests |
| 7 flake8 abp tests setup.py |
6 deps = | 8 deps = |
7 pytest | 9 pytest |
8 mock | 10 mock |
9 | |
10 # This environment is for checking code quality: test coverage, PEP8, etc. | |
11 # We have to install our package in development mode so that pytest-cov can | |
12 # find the .coverage file. | |
13 [testenv:qa] | |
14 commands = | |
15 py.test --cov=abp tests | |
16 flake8 abp tests setup.py | |
17 deps = | |
18 pytest-cov | |
19 mock | |
20 flake8 | 11 flake8 |
21 pep8-naming | 12 pep8-naming |
22 hg+https://hg.adblockplus.org/codingtools#egg=flake8-abp&subdirectory=flake8
-abp | 13 hg+https://hg.adblockplus.org/codingtools#egg=flake8-abp&subdirectory=flake8
-abp |
| 14 |
| 15 [testenv:coverage] |
| 16 commands = |
| 17 py.test --cov=abp tests |
| 18 deps = |
| 19 pytest-cov |
| 20 mock |
| 21 |
| 22 # We have to install our package in development mode |
| 23 # so that pytest-cov can find the .coverage file. |
23 usedevelop = true | 24 usedevelop = true |
OLD | NEW |