From ebcb9b9af797f35889e9ee35a63828de9da70a95 Mon Sep 17 00:00:00 2001 From: vincent d warmerdam Date: Mon, 29 Apr 2019 18:56:57 +0200 Subject: [PATCH] codecov (#126) * codecov * add cov to travis --- .travis.yml | 2 +- Makefile | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index a07fe9617..8478c0ef4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,6 @@ install: - pip install -e . - pip install .[dev] script: - - pytest --disable-warnings + - pytest --disable-warnings --cov=sklego - python -m doctest -v sklego/*.py - flake8 \ No newline at end of file diff --git a/Makefile b/Makefile index c97980c94..80c04f26a 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ doctest: python -m doctest -v sklego/*.py test: doctest - pytest --disable-warnings + pytest --disable-warnings --cov=sklego check: flake test diff --git a/setup.py b/setup.py index af7dc495e..183731680 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ docs_packages = ["sphinx>=1.8.5", "sphinx_rtd_theme>=0.4.3"] dev_packages = docs_packages + ["flake8>=3.6.0", "matplotlib>=3.0.2", "pytest>=4.0.2", "nbval>=0.9.1", "plotnine>=0.5.1", "jupyter>=1.0.0", - "jupyterlab>=0.35.4"] + "jupyterlab>=0.35.4", "pytest-cov>=2.6.1"] def read(fname):