From 0944b6d838ffe80d083f6550c2ccfecd6eef5af4 Mon Sep 17 00:00:00 2001 From: Jakub Stasiak Date: Tue, 23 May 2017 23:45:09 +0200 Subject: [PATCH] Measure test coverage --- .gitignore | 2 ++ .travis.yml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index fef922e..ba2cd8b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ __pycache__/ docs/_build/ build/ +htmlcov/ +*,cover diff --git a/.travis.yml b/.travis.yml index 95cffe4..9f18777 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,5 +17,5 @@ matrix: - python: "nightly" install: - - pip install pytest "typing$TYPING_VERSION" -script: py.test -vv + - pip install pytest "typing$TYPING_VERSION" "pytest-cov>=2.5.1" +script: py.test -vv --cov=injector --cov-branch --cov-report html --cov-report term