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

Unified Diff: tox.ini

Issue 29968569: Issue 4014 - Publish python-abp on PyPI (Closed) Base URL: https://hg.adblockplus.org/python-abp/
Patch Set: Address comments on PS1, update README Created Dec. 28, 2018, 9:48 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
« LICENSE ('K') | « tests/test_web_source.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tox.ini
===================================================================
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py27,py35,py36,pypy,coverage,flake8
+envlist = py27,py35,py36,pypy,coverage2,coverage3,flake8
[flake8]
ignore = D107, N801, W503
@@ -11,16 +11,27 @@
commands =
py.test tests
-[testenv:coverage]
+# We have to install our package in development mode so that pytest-cov can
+# find the .coverage and .coveragerc files.
+usedevelop = true
+
+[testenv:coverage2]
+basepython = python2
+setenv = PY_VER = 2
deps =
pytest-cov
mock
commands =
py.test --cov=abp --cov-report=term-missing tests
-# We have to install our package in development mode
-# so that pytest-cov can find the .coverage file.
-usedevelop = true
+[testenv:coverage3]
+basepython = python3
+setenv = PY_VER = 3
+deps =
+ pytest-cov
+ mock
+commands =
+ py.test --cov=abp --cov-report=term-missing tests
[testenv:flake8]
basepython = python3
« LICENSE ('K') | « tests/test_web_source.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld