<NME> tox.ini
<BEF> [tox]
envlist =
    py{37,36,35,34,27,py3,py}
    stylecheck
    docs-html
    coverage-report
skip_missing_interpreters = true

[testenv]
setenv =
    COVERAGE_FILE = .coverage.{envname}
deps =
    pytest-cov
    freezegun
commands = pytest --tb=short --cov --cov-report= {posargs}

[testenv:stylecheck]
deps = pre-commit
skip_install = True
commands = pre-commit run --all-files --show-diff-on-failure
commands = mypy

deps = -r docs/requirements.txt
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html

[testenv:coverage-report]
setenv =
    COVERAGE_FILE = .coverage
deps = coverage
skip_install = true
commands =
    coverage html
    coverage report

[testenv:codecov]
passenv = CI TRAVIS TRAVIS_*
setenv =
    COVERAGE_FILE = .coverage
deps = codecov
skip_install = true
commands =
    coverage combine
    codecov
    coverage report

<MSG> Merge branch '1.1.x'

<DFF> @@ -1,20 +1,19 @@
 [tox]
 envlist =
-    py{37,36,35,34,27,py3,py}
-    stylecheck
-    docs-html
-    coverage-report
+    py{37,36,35,27,py3,py}
+    style
+    docs
+    coverage
 skip_missing_interpreters = true
 
 [testenv]
-setenv =
-    COVERAGE_FILE = .coverage.{envname}
 deps =
-    pytest-cov
+    coverage
+    pytest
     freezegun
-commands = pytest --tb=short --cov --cov-report= {posargs}
+commands = coverage run -p -m pytest -Werror --tb=short --basetemp={envtmpdir} {posargs}
 
-[testenv:stylecheck]
+[testenv:style]
 deps = pre-commit
 skip_install = True
 commands = pre-commit run --all-files --show-diff-on-failure
@@ -23,9 +22,7 @@ commands = pre-commit run --all-files --show-diff-on-failure
 deps = -r docs/requirements.txt
 commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html
 
-[testenv:coverage-report]
-setenv =
-    COVERAGE_FILE = .coverage
+[testenv:coverage]
 deps = coverage
 skip_install = true
 commands =
@@ -33,13 +30,9 @@ commands =
     coverage html
     coverage report
 
-[testenv:codecov]
-passenv = CI TRAVIS TRAVIS_*
-setenv =
-    COVERAGE_FILE = .coverage
-deps = codecov
+[testenv:coverage-ci]
+deps = coverage
 skip_install = true
 commands =
     coverage combine
-    codecov
-    coverage report
+    coverage xml

Merge branch '1.1.x'