From 27b2624a6784a69d72e1a38a0da00bea83b47009 Mon Sep 17 00:00:00 2001 From: Janne Sinivirta Date: Mon, 2 Oct 2017 19:27:50 +0300 Subject: [PATCH] let pytest do coverage --- .travis.yml | 2 +- setup.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index aa1e01d31..a2a69c9e3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,7 @@ install: - pip install coveralls - pip install -r requirements.txt script: -- coverage run --source=freqtrade setup.py test +- python setup.py test after_success: - coveralls notifications: diff --git a/setup.cfg b/setup.cfg index c5d8a376a..ea59030de 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,4 +2,4 @@ test=pytest [tool:pytest] -addopts = --pyargs freqtrade +addopts = --cov=freqtrade --cov-config=.coveragerc freqtrade/tests/