commit
11f97ccf87
2
.coveragerc
Normal file
2
.coveragerc
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[run]
|
||||||
|
omit = freqtrade/tests/*
|
@ -18,7 +18,7 @@ install:
|
|||||||
- pip install coveralls
|
- pip install coveralls
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
script:
|
script:
|
||||||
- coverage run --source=freqtrade setup.py test
|
- pytest --cov=freqtrade --cov-config=.coveragerc freqtrade/tests/
|
||||||
after_success:
|
after_success:
|
||||||
- coveralls
|
- coveralls
|
||||||
notifications:
|
notifications:
|
||||||
|
@ -13,6 +13,7 @@ numpy==1.13.3
|
|||||||
TA-Lib==0.4.10
|
TA-Lib==0.4.10
|
||||||
pytest==3.2.2
|
pytest==3.2.2
|
||||||
pytest-mock==1.6.3
|
pytest-mock==1.6.3
|
||||||
|
pytest-cov==2.5.1
|
||||||
|
|
||||||
# Required for plotting data
|
# Required for plotting data
|
||||||
#matplotlib==2.0.2
|
#matplotlib==2.0.2
|
||||||
|
@ -2,4 +2,4 @@
|
|||||||
test=pytest
|
test=pytest
|
||||||
|
|
||||||
[tool:pytest]
|
[tool:pytest]
|
||||||
addopts = --pyargs freqtrade
|
addopts = --cov=freqtrade --cov-config=.coveragerc freqtrade/tests/
|
||||||
|
2
setup.py
2
setup.py
@ -13,7 +13,7 @@ setup(name='freqtrade',
|
|||||||
packages=['freqtrade'],
|
packages=['freqtrade'],
|
||||||
scripts=['bin/freqtrade'],
|
scripts=['bin/freqtrade'],
|
||||||
setup_requires=['pytest-runner'],
|
setup_requires=['pytest-runner'],
|
||||||
tests_require=['pytest', 'pytest-mock'],
|
tests_require=['pytest', 'pytest-mock', 'pytest-cov'],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'python-bittrex==0.1.3',
|
'python-bittrex==0.1.3',
|
||||||
'SQLAlchemy==1.1.13',
|
'SQLAlchemy==1.1.13',
|
||||||
|
Loading…
Reference in New Issue
Block a user