| Index: tox.ini |
| =================================================================== |
| new file mode 100644 |
| --- /dev/null |
| +++ b/tox.ini |
| @@ -0,0 +1,20 @@ |
| +[tox] |
| +envlist = py27, py35, pypy, qa |
| + |
| +[testenv] |
| +commands = py.test tests |
| +deps = |
| + pytest |
| + |
| +# 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 |
|
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
|
| + pytest-cov |
| + flake8 |
| +usedevelop = true |