freqtrade_origin/.travis.yml

62 lines
2.0 KiB
YAML
Raw Normal View History

2017-12-18 07:14:40 +00:00
sudo: true
2017-09-08 14:39:17 +00:00
os:
2017-09-12 17:20:49 +00:00
- linux
2019-01-08 19:58:14 +00:00
dist: xenial
2017-09-08 14:39:17 +00:00
language: python
python:
2017-09-12 17:20:49 +00:00
- 3.6
services:
- docker
env:
global:
- IMAGE_NAME=freqtradeorg/freqtrade
2017-09-08 14:39:17 +00:00
addons:
apt:
packages:
2017-09-12 17:20:49 +00:00
- libelf-dev
- libdw-dev
- binutils-dev
2017-09-08 14:39:17 +00:00
install:
2019-01-08 19:39:50 +00:00
- cd build_helpers && ./install_ta-lib.sh; cd ..
2017-09-12 17:20:49 +00:00
- export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
- pip install --upgrade pytest-random-order
- pip install -r requirements-dev.txt
- pip install -e .
jobs:
2019-03-07 20:59:39 +00:00
allow_failures:
- script: coveralls
include:
- stage: tests
script:
2018-06-09 15:52:57 +00:00
- pytest --cov=freqtrade --cov-config=.coveragerc freqtrade/tests/
name: pytest
2017-12-17 13:19:35 +00:00
- script:
- cp config.json.example config.json
- python freqtrade/main.py --datadir freqtrade/tests/testdata backtesting
name: backtest
2017-12-17 13:13:39 +00:00
- script:
- cp config.json.example config.json
- python freqtrade/main.py --datadir freqtrade/tests/testdata hyperopt -e 5
name: hyperopt
- script: flake8 freqtrade
name: flake8
2018-05-31 20:09:31 +00:00
- script: mypy freqtrade
name: mypy
2019-03-07 20:59:39 +00:00
- script: coveralls
name: "Coveralls"
- stage: docker
if: branch in (master, develop, feat/improve_travis) AND (type in (push, cron))
script:
- build_helpers/publish_docker.sh
name: "Build and test and push docker image"
2017-09-12 17:20:49 +00:00
notifications:
slack:
secure: bKLXmOrx8e2aPZl7W8DA5BdPAXWGpI5UzST33oc1G/thegXcDVmHBTJrBs4sZak6bgAclQQrdZIsRd2eFYzHLalJEaw6pk7hoAw8SvLnZO0ZurWboz7qg2+aZZXfK4eKl/VUe4sM9M4e/qxjkK+yWG7Marg69c4v1ypF7ezUi1fPYILYw8u0paaiX0N5UX8XNlXy+PBlga2MxDjUY70MuajSZhPsY2pDUvYnMY1D/7XN3cFW0g+3O8zXjF0IF4q1Z/1ASQe+eYjKwPQacE+O8KDD+ZJYoTOFBAPllrtpO1jnOPFjNGf3JIbVMZw4bFjIL0mSQaiSUaUErbU3sFZ5Or79rF93XZ81V7uEZ55vD8KMfR2CB1cQJcZcj0v50BxLo0InkFqa0Y8Nra3sbpV4fV5Oe8pDmomPJrNFJnX6ULQhQ1gTCe0M5beKgVms5SITEpt4/Y0CmLUr6iHDT0CUiyMIRWAXdIgbGh1jfaWOMksybeRevlgDsIsNBjXmYI1Sw2ZZR2Eo2u4R6zyfyjOMLwYJ3vgq9IrACv2w5nmf0+oguMWHf6iWi2hiOqhlAN1W74+3HsYQcqnuM3LGOmuCnPprV1oGBqkPXjIFGpy21gNx4vHfO1noLUyJnMnlu2L7SSuN1CdLsnjJ1hVjpJjPfqB4nn8g12x87TqM1bOm+3Q=
2017-12-17 20:19:50 +00:00
cache:
2019-01-08 20:27:50 +00:00
pip: True
2017-12-17 20:19:50 +00:00
directories:
2019-01-09 07:17:03 +00:00
- /usr/local/lib