summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth M Morton <seth.m.morton@gmail.com>2018-05-14 20:49:42 -0700
committerSeth M Morton <seth.m.morton@gmail.com>2018-05-14 20:49:42 -0700
commitb6030fde2574b05d85e9f4f56760be587d70d48c (patch)
treea833500eb342dbbd8a2b46030a72021e5472925d
parentb886ebd4cf1b1ce6b5057b85fb171bd9267237dd (diff)
downloadnatsort-b6030fde2574b05d85e9f4f56760be587d70d48c.tar.gz
Re-enable coverage always (couldn't get it working otherwise).
-rw-r--r--.travis.yml3
-rw-r--r--tox.ini2
2 files changed, 2 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 21977ee..ae012aa 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -24,8 +24,7 @@ install:
- pip install tox-travis codacy-coverage codecov
script:
-# I only want to run coverage in Travis, so these are passed via posargs here.
-- tox -- --cov {envsitepackagesdir}/natsort --cov-report term-missing
+- tox
after_success:
- coverage xml
diff --git a/tox.ini b/tox.ini
index e481ab2..fc39d31 100644
--- a/tox.ini
+++ b/tox.ini
@@ -25,7 +25,7 @@ commands =
pytest README.rst docs/source/intro.rst docs/source/examples.rst
pytest --doctest-modules {envsitepackagesdir}/natsort
# Full test suite. Allow the user to pass command-line objects.
- pytest --flakes --pep8 --tb=short {posargs:}
+ pytest --flakes --pep8 --tb=short --cov {envsitepackagesdir}/natsort --cov-report term-missing {posargs:}
# Build documentation.
[testenv:docs]