Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: tox.ini

Issue 29338156: Issue 3754 - Initial setup of the python-abp repo. (Closed)
Patch Set: Update ignore files, describe testing in README.md and fix a typo in tox.ini. Created March 16, 2016, 3:56 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« setup.py ('K') | « tests/test_line_parsing.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« setup.py ('K') | « tests/test_line_parsing.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld