use || for coveralls

This commit is contained in:
Matthias 2019-03-08 21:54:40 +01:00
parent dba30bbfed
commit 25529ad95f
1 changed files with 2 additions and 4 deletions

View File

@ -23,13 +23,13 @@ install:
- pip install -r requirements-dev.txt - pip install -r requirements-dev.txt
- pip install -e . - pip install -e .
jobs: jobs:
allow_failures:
- script: coveralls
include: include:
- stage: tests - stage: tests
script: script:
- pytest --cov=freqtrade --cov-config=.coveragerc freqtrade/tests/ - pytest --cov=freqtrade --cov-config=.coveragerc freqtrade/tests/
# Allow failure for coveralls
- coveralls || true
name: pytest name: pytest
- script: - script:
- cp config.json.example config.json - cp config.json.example config.json
@ -43,8 +43,6 @@ jobs:
name: flake8 name: flake8
- script: mypy freqtrade - script: mypy freqtrade
name: mypy name: mypy
- script: coveralls
name: "Coveralls"
- stage: docker - stage: docker
if: branch in (master, develop, feat/improve_travis) AND (type in (push, cron)) if: branch in (master, develop, feat/improve_travis) AND (type in (push, cron))