add smoke tests to run a round of hyperopt and backtesting

This commit is contained in:
Samuel Husso 2017-12-17 11:55:34 +02:00
parent 155ed4e501
commit 5f1b9943d1

View File

@ -17,8 +17,14 @@ install:
- export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH - export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
- pip install flake8 coveralls - pip install flake8 coveralls
- pip install -r requirements.txt - pip install -r requirements.txt
script: jobs:
- pytest --cov=freqtrade --cov-config=.coveragerc freqtrade/tests/ include:
- stage: test
- pytest --cov=freqtrade --cov-config=.coveragerc freqtrade/tests/
- stage: hyperopt
- python freqtrade/main.py hyperopt -e 5
- stage: backtesting
- python freqtrade/main.py backtesting
after_success: after_success:
- flake8 freqtrade && coveralls - flake8 freqtrade && coveralls
notifications: notifications: