diff options
author | Seth M Morton <seth.m.morton@gmail.com> | 2018-05-14 20:49:42 -0700 |
---|---|---|
committer | Seth M Morton <seth.m.morton@gmail.com> | 2018-05-14 20:49:42 -0700 |
commit | b6030fde2574b05d85e9f4f56760be587d70d48c (patch) | |
tree | a833500eb342dbbd8a2b46030a72021e5472925d | |
parent | b886ebd4cf1b1ce6b5057b85fb171bd9267237dd (diff) | |
download | natsort-b6030fde2574b05d85e9f4f56760be587d70d48c.tar.gz |
Re-enable coverage always (couldn't get it working otherwise).
-rw-r--r-- | .travis.yml | 3 | ||||
-rw-r--r-- | tox.ini | 2 |
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 @@ -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] |