Merge pull request #195 from gcarq/feature/travis-smoke-tests

add smoke tests to run a round of hyperopt and backtesting
This commit is contained in:
Samuel Husso 2017-12-17 15:45:14 +02:00 committed by GitHub
commit 117ec4e64d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,8 +17,16 @@ 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: - pip install -e .
- pytest --cov=freqtrade --cov-config=.coveragerc freqtrade/tests/ jobs:
include:
- script: pytest --cov=freqtrade --cov-config=.coveragerc freqtrade/tests/
- script:
- cp config.json.example config.json
- python freqtrade/main.py backtesting
- script:
- cp config.json.example config.json
- python freqtrade/main.py hyperopt -e 5
after_success: after_success:
- flake8 freqtrade && coveralls - flake8 freqtrade && coveralls
notifications: notifications: