From 2242250ffa51cfeeaf1e26e3939519c410573f0c Mon Sep 17 00:00:00 2001 From: Viatorus Date: Tue, 4 Dec 2018 22:55:47 +0100 Subject: [PATCH] Get coverage report with codecov. --- .travis.yml | 6 ++++-- tox.ini | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index eb706e6..4e3f262 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,10 +2,12 @@ sudo: false language: python python: - 3.6 - install: - pip install -r requirements-dev.txt - pip install tox-travis - + - pip install codecov script: - tox +after_success: + - codecov -e $TRAVIS_PYTHON_VERSION + diff --git a/tox.ini b/tox.ini index 5bfeb0c..9014068 100644 --- a/tox.ini +++ b/tox.ini @@ -3,5 +3,6 @@ envlist = py36 [testenv] deps = pytest - pyfakefs -commands = py.test tests \ No newline at end of file + pytest-cov + pyfakefs +commands = py.test --cov quom tests