From 2d892cb85dbc8c903fac6dc13f5bb290804906a7 Mon Sep 17 00:00:00 2001 From: "Tobias Wellnitz, DH1TW" Date: Sun, 28 Jan 2018 12:42:14 +0100 Subject: [PATCH] added pytest-cov --- .travis.yml | 2 +- requirements-pytest.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7a4845f..b73c0b0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,7 +20,7 @@ install: - pip install codecov # run tests script: - - pytest + - pytest --cov=pyhamtools - cd docs # build the docs on 2.7 and 3.6 (sphinx requires 2.7 or >=3.4) - if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then make html; fi diff --git a/requirements-pytest.txt b/requirements-pytest.txt index 95f2aab..ca1f783 100644 --- a/requirements-pytest.txt +++ b/requirements-pytest.txt @@ -1,3 +1,4 @@ pytest>=3.3.2 pytest-blockage>=0.2.0 pytest-localserver>=0.4.1 +pytest-cov>=2.5.1