加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 931 Bytes
一键复制 编辑 原始数据 按行查看 历史
EricWang 提交于 2017-03-26 12:23 . fixed travis bundle cache issue
language: python
dist: trusty
sudo: required
branches:
only:
- develop
- master
matrix:
include:
- python: 2.7
- python: 3.4
- python: 3.5
- python: 3.6
install:
# Install TA-Lib
- wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
- tar -xzvf ta-lib-0.4.0-src.tar.gz
- cd ta-lib
- ./configure --prefix=/usr
- make
- sudo make install
- cd ..
# Install bcolz
- pip install Cython
- pip install bcolz
# Install Test Deps
- pip install TA-Lib
- pip install coveralls
- pip install -U setuptools
- pip install funcat
- pip install .
script:
- ls -al $HOME/.rqalpha/
- ls -al $HOME/.rqalpha/bundle/
- |
if [ ! -f $HOME/.rqalpha/bundle/instruments.pk ]; then
rqalpha update_bundle
fi
- coverage run --source=rqalpha test.py
cache:
directories:
- $HOME/.cache/pip
- $HOME/.rqalpha/bundle
after_success:
coveralls
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化