Skip to content

Commit

Permalink
Fix paths in setup and travis
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Sep 8, 2019
1 parent 9513115 commit 9d2c6c8
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[run]
omit =
scripts/*
freqtrade/tests/*
freqtrade/vendor/*
freqtrade/__main__.py
tests/*
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@ jobs:
include:
- stage: tests
script:
- pytest --random-order --cov=freqtrade --cov-config=.coveragerc freqtrade/tests/
- pytest --random-order --cov=freqtrade --cov-config=.coveragerc
# Allow failure for coveralls
- coveralls || true
name: pytest
- script:
- cp config.json.example config.json
- freqtrade --datadir freqtrade/tests/testdata backtesting
- freqtrade --datadir tests/testdata backtesting
name: backtest
- script:
- cp config.json.example config.json
- freqtrade --datadir freqtrade/tests/testdata hyperopt -e 5
- freqtrade --datadir tests/testdata hyperopt -e 5
name: hyperopt
- script: flake8 freqtrade scripts
- script: flake8
name: flake8
- script:
# Test Documentation boxes -
Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ include LICENSE
include README.md
include config.json.example
recursive-include freqtrade *.py
include freqtrade/tests/testdata/*.json
7 changes: 6 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@
#ignore =
max-line-length = 100
max-complexity = 12
exclude =
.git,
__pycache__,
.eggs,
user_data,

[mypy]
ignore_missing_imports = True

[mypy-freqtrade.tests.*]
[mypy-tests.*]
ignore_errors = True

0 comments on commit 9d2c6c8

Please sign in to comment.