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 .coverage file. |
Sebastian Noack
2016/03/16 00:18:41
Typo: "can find the .coverage file."
Vasily Kuznetsov
2016/03/16 13:47:15
I'm not a native speaker but my intuition was that
|
+[testenv:qa] |
+commands = |
+ py.test --cov=abp tests |
+ flake8 abp tests setup.py |
+deps = |
+ pytest |
+ pytest-cov |
+ flake8 |
+usedevelop = true |