Update travis to run new methods

This commit is contained in:
Matthias 2019-09-16 11:34:44 +02:00
parent 014881e550
commit 0d13e2cb2e
3 changed files with 3 additions and 5 deletions

View File

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

View File

@ -58,7 +58,7 @@ def start_list_exchanges(args: Dict[str, Any]) -> None:
f"{', '.join(available_exchanges())}")
def start_create_userdir(args: Dict[str, Any]) -> int:
def start_create_userdir(args: Dict[str, Any]) -> None:
"""
Create "user_data" directory to contain user data strategies, hyperopts, ...)
:param args: Cli args from Arguments()

View File

@ -1,10 +1,8 @@
# pragma pylint: disable=missing-docstring, C0103
import argparse
import re
import pytest
from freqtrade import OperationalException
from freqtrade.configuration import Arguments
from freqtrade.configuration.cli_options import check_int_positive