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/