aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2018-05-02 13:47:27 -0700
committerDavid Lord <davidism@gmail.com>2018-05-02 14:07:33 -0700
commitfe626819d10e063270bf0ed3b183249482b1a0e7 (patch)
tree4f9f934aa7c0c8261c8d187c4a399d00f83598aa /tox.ini
parentb9c6ef1ec4ad8c58ca75c2919c3073063aa5b9b9 (diff)
downloadmarkupsafe-fe626819d10e063270bf0ed3b183249482b1a0e7.tar.gz
update project files
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini28
1 files changed, 24 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index d1e1b68..8f372c5 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,8 +1,28 @@
[tox]
-envlist = py27,pypy,py34,py35,py36
+envlist =
+ py{36,35,34,27,py}
+ coverage_report
[testenv]
-commands = py.test tests.py {posargs}
-
+passenv = LANG
deps =
- pytest
+ pytest>=3
+ coverage
+commands = coverage run -p -m pytest {posargs}
+
+[testenv:coverage_report]
+deps = coverage
+skip_install = true
+commands =
+ coverage combine
+ coverage report
+ coverage html
+
+[testenv:codecov]
+passenv = CI TRAVIS TRAVIS_*
+deps = codecov
+skip_install = true
+commands =
+ coverage combine
+ coverage report
+ codecov