use || for coveralls
This commit is contained in:
		| @@ -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)) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user