let pytest do coverage

This commit is contained in:
Janne Sinivirta 2017-10-02 19:27:50 +03:00
parent 8500032bff
commit 27b2624a67
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -2,4 +2,4 @@
test=pytest
[tool:pytest]
addopts = --pyargs freqtrade
addopts = --cov=freqtrade --cov-config=.coveragerc freqtrade/tests/