From ad0af328f3a4b639d4e8143037117e256ad61645 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Tue, 11 Sep 2018 23:23:59 -0400 Subject: [PATCH] ENH: run tests with coverage --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 816ae52..2605b08 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,7 +30,12 @@ before_install: # command to install dependencies install: - pip install -r requirements.txt + - pip install -q codecov + # command to run tests -script: make test PYTESTOPTS=-s +script: + - make localbuild + - coverage run -- `which pytest` -s -v tests/ + #notifications: # email: false