diff options
author | David Lord <davidism@gmail.com> | 2018-05-02 13:47:27 -0700 |
---|---|---|
committer | David Lord <davidism@gmail.com> | 2018-05-02 14:07:33 -0700 |
commit | fe626819d10e063270bf0ed3b183249482b1a0e7 (patch) | |
tree | 4f9f934aa7c0c8261c8d187c4a399d00f83598aa /tox.ini | |
parent | b9c6ef1ec4ad8c58ca75c2919c3073063aa5b9b9 (diff) | |
download | markupsafe-fe626819d10e063270bf0ed3b183249482b1a0e7.tar.gz |
update project files
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 28 |
1 files changed, 24 insertions, 4 deletions
@@ -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 |