Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 [tox] | 1 [tox] |
2 envlist = py27, py35, pypy, qa | 2 envlist = py27, py35, pypy, qa |
3 | 3 |
4 [testenv] | 4 [testenv] |
5 commands = py.test tests | 5 commands = py.test tests |
6 deps = | 6 deps = |
7 pytest | 7 pytest |
8 | 8 |
9 # This environment is for checking code quality: test coverage, PEP8, etc. | 9 # This environment is for checking code quality: test coverage, PEP8, etc. |
10 # We have to install our package in development mode so that pytest-cov can | 10 # We have to install our package in development mode so that pytest-cov can |
11 # find the .coverage file. | 11 # find the .coverage file. |
12 [testenv:qa] | 12 [testenv:qa] |
13 commands = | 13 commands = |
14 py.test --cov=abp tests | 14 py.test --cov=abp tests |
15 flake8 abp tests setup.py | 15 flake8 abp tests setup.py |
16 deps = | 16 deps = |
17 pytest | |
Sebastian Noack
2016/03/16 16:03:59
IIRC, dependencies are inherited from testenv here
Vasily Kuznetsov
2016/03/16 16:29:35
It works without this line although I'm not sure i
| |
18 pytest-cov | 17 pytest-cov |
19 flake8 | 18 flake8 |
20 usedevelop = true | 19 usedevelop = true |
LEFT | RIGHT |