run pytest, hyperopt and backtesting in parallel

This commit is contained in:
Janne Sinivirta 2017-12-17 14:45:31 +02:00
parent a68ca31684
commit 21a11f5589

View File

@ -19,15 +19,9 @@ install:
- pip install -r requirements.txt - pip install -r requirements.txt
jobs: jobs:
include: include:
- stage: test - script: pytest --cov=freqtrade --cov-config=.coveragerc freqtrade/tests/
script: - script: python freqtrade/main.py hyperopt -e 5
- pytest --cov=freqtrade --cov-config=.coveragerc freqtrade/tests/ - script: python freqtrade/main.py backtesting
- stage: hyperopt
script:
- python freqtrade/main.py hyperopt -e 5
- stage: backtesting
script:
- python freqtrade/main.py backtesting
after_success: after_success:
- flake8 freqtrade && coveralls - flake8 freqtrade && coveralls
notifications: notifications: