partially revert last commit(DefaultStrategy import IS needed).

* don't run functions in travis in a way we don't support
This commit is contained in:
Matthias 2019-07-21 19:56:43 +02:00
parent 1fea6d394a
commit d2ad32eef8
2 changed files with 4 additions and 2 deletions

View File

@ -32,11 +32,11 @@ jobs:
name: pytest
- script:
- cp config.json.example config.json
- python freqtrade --datadir freqtrade/tests/testdata backtesting
- freqtrade --datadir freqtrade/tests/testdata backtesting
name: backtest
- script:
- cp config.json.example config.json
- python freqtrade --datadir freqtrade/tests/testdata hyperopt -e 5
- freqtrade --datadir freqtrade/tests/testdata hyperopt -e 5
name: hyperopt
- script: flake8 freqtrade scripts
name: flake8

View File

@ -3,6 +3,8 @@ import sys
from copy import deepcopy
from freqtrade.strategy.interface import IStrategy
# Import Default-Strategy to have hyperopt correctly resolve
from freqtrade.strategy.default_strategy import DefaultStrategy # noqa: F401
logger = logging.getLogger(__name__)