代码拉取完成,页面将自动刷新
sudo: false
language: python
matrix:
include:
- python: 3.5
dist: trusty
- python: 3.6
dist: trusty
env: DOCBUILD=true
- python: 3.7
dist: xenial
sudo: true
env:
global:
# Doctr deploy key for jackmoody11/stockscore
- secure: "MgSSDvTut3VcakoiK39VneLt0cBVhifnrKaFFu8XiLR9WW2qU/83aYPMV2zw8yM0XyU3IECFnAJWKCRr1bQGlhUS66Xlb/9zp5Yec1kVcU8GBY21r2k9YnkuFPYrgmdHrm5ChajQNJZ/nN8xgBstTIDdBIwtDn5rh3igcnHaAnm4BeEDlVnYqMsCa5VD0DlCPXZvDeqxjokMlb5NEn0La48k/oShYc+sa6gFfgUaLmPnE8b9EC0M4W2qq0jD4XmbGFyasN0LbSGs9vIOXooQybSTDyfEzGSySdRbU6mJO3rfVHL95Ewn0Sc6DRe0JVx11KKa0AXnUKXYD3u4HJ9tXn2KuWDmKPgSfMcjO6yKSR8vecvsdHXxcZszGw9mLFrw0dDKVDUWVOFiSkGMf8ukv3O6+LGo4ZDOV/+a9Bu4HGVdbAulQBmmAuuIVQN2cLf12WcHpd8oiEanuCqpNLr/MnqiokBCab9jGOtxB1Dj6qvhsW/PxQj01kWcbLF6Rr9dxh2zCsrsMVLV+fsQekhsup377gKNztPSGv6/qQJUn4S0rXQYtt3E7eYGzR/uDmhyHQQa4ZYSA6b4JQ6/X0R2WiB6wWdf7cOAeBeQ1/f5LsDRgsp2cI9dXydnv/9aKUVz1ZTgTFKiLxQqSqs5SG1GuOwqd1obU/oQtO2RwJE6oAg="
install:
- pip install -qq flake8
- pip install codecov
- if [[ $DOCBUILD ]]; then
pip install doctr sphinx sphinx_rtd_theme ipython matplotlib;
fi
- pip install -r requirements.txt
script:
- flake8 --version
- flake8 stockscore
- pytest stockscore/tests --runslow # or py.test for Python versions 3.5 and below
- coverage run setup.py pytest
after_success:
- |
if [[ $DOCBUILD ]]; then
cd docs
make html && make html
cd ..
doctr deploy devel --build-tags
if [[ -z ${TRAVIS_TAG} ]]; then
echo "Not a tagged build."
else
doctr deploy stable --build-tags
fi
fi
- codecov
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。