OLD | NEW |
1 [tox] | 1 [tox] |
2 envlist = py27, py35, py36, pypy, coverage | 2 envlist = py27, py35, py36, pypy, qa |
3 | 3 |
4 [testenv] | 4 [testenv] |
5 commands = | |
6 py.test tests | |
7 flake8 abp tests setup.py | |
8 deps = | 5 deps = |
9 pytest | 6 pytest |
10 mock | 7 mock |
11 flake8 | 8 commands = |
12 pep8-naming | 9 pytest tests |
13 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake
8-eyeo | |
14 | 10 |
15 [testenv:coverage] | 11 [testenv:qa] |
16 commands = | 12 basepython = python3 |
17 py.test --cov=abp tests | |
18 deps = | 13 deps = |
19 pytest-cov | 14 pytest-cov |
20 mock | 15 mock |
| 16 flake8 |
| 17 flake8-docstrings |
| 18 pep8-naming |
| 19 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake
8-eyeo |
| 20 commands = |
| 21 pytest --cov=abp --cov-report=term-missing tests |
| 22 flake8 --ignore=D107 abp |
| 23 flake8 --ignore=D1 tests setup.py |
21 | 24 |
22 # We have to install our package in development mode | 25 # We have to install the package in development mode |
23 # so that pytest-cov can find the .coverage file. | 26 # so that pytest-cov can find the .coverage file. |
24 usedevelop = true | 27 usedevelop = true |
OLD | NEW |