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