From ce68b0877b7f3a2fe2be6082502d028973e63752 Mon Sep 17 00:00:00 2001 From: Adrien Barbaresi Date: Tue, 21 Jan 2020 18:02:07 +0100 Subject: [PATCH] prepare codecov coverage report --- .travis.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index c4dde42..aee618e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -53,10 +53,12 @@ before_install: install: - python setup.py install - - pip install "pytest==4.6.9" # pytest 4.6.X works best for older Python versions - # TODO: last LXML version compatible with Python 3.4 is 4.3.4 # pinned dependency for backwards compatibility - - pip install 'coverage==4.5.4' pytest-cov + - pip install "pytest==4.6.9" # pytest 4.6.X works best for older Python versions + - pip install -U codecov 'coverage==4.5.4' pytest-cov script: - - py.test --cov + - py.test tests/ + +after_success: + - codecov