1 Star 1 Fork 0

github/pandas-datareader

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 2.12 KB
一键复制 编辑 原始数据 按行查看 历史
Kevin Sheppard 提交于 2020-07-15 11:46 . MAINT: Add tester
dist: bionic
language: python
env:
global:
- TEST_TYPE="stable and not requires_api_key"
- TEST_INSTALL=false
# Doctr deploy key for pydata/pandas-datareader
- secure: "iGbOAbBSV5y0TKDh2CifRSk6OpLA9GbEEL/hscHFLSDDUCWcdfvYXda3SWJFWyoQ5QUxSigXWd+ukr4u92d7lmB7m3TWj6BAMNuRpatTgnejLNwLvNeYdvLAxPvx39Cq85frd1Rx1beBLn3h/4wm4Ah+dR5W9NH8+x3OuZMH3Eo="
matrix:
fast_finish: true
include:
- python: 3.6
env: PANDAS=0.23 NUMPY=1.16
- python: 3.7
env: PANDAS=0.25 NUMPY=1.17 DOCBUILD=true
- python: 3.7
env: PANDAS=0.25 NUMPY=1.18
- python: 3.8
env: PANDAS=1 NUMPY=1.18
- python: 3.8
env: PANDAS=1 NUMPY=1.19 TEST_INSTALL=true
- python: 3.7
env: TEST_TYPE="quandl" PANDAS=1 NUMPY=1.19
# In allow failures
- python: 3.7
env: TEST_TYPE="alpha_vantage" PANDAS=1 NUMPY=1.19
- python: 3.7
env: TEST_TYPE="not stable and not alpha_vantage and not quandl" PANDAS=1 NUMPY=1.19
- python: 3.7
env: PANDAS="MASTER" NUMPY=1.18
allow_failures:
- python: 3.7
env: PANDAS="MASTER" NUMPY=1.17
- python: 3.7
env: TEST_TYPE="alpha_vantage" PANDAS=1 NUMPY=1.19
- python: 3.7
env: TEST_TYPE="not stable and not alpha_vantage and not quandl" PANDAS=1 NUMPY=1.19
install:
- source ci/pypi-install.sh;
- pip list
- pip install . --no-build-isolation -v
script:
- if [[ -n "${TEST_TYPE+x}" ]]; then export MARKERS="-m ${TEST_TYPE}"; fi
- |
if [[ ${TEST_INSTALL} = false ]]; then
pytest -v -s -r xX "${MARKERS}" --cov-config .coveragerc --cov=pandas_datareader --cov-report xml:/tmp/cov-datareader.xml --junitxml=/tmp/datareader.xml
else
mkdir pdr_test
cd pdr_test
python -c "import pandas_datareader; pandas_datareader.test()"
cd ..
fi
- black --version
- black --check pandas_datareader
- flake8 --version
- flake8 pandas_datareader
- |
if [[ "$DOCBUILD" ]]; then
set -e
cd docs
make html
cd ..
if [[ -z "$TRAVIS_TAG" ]]; then
doctr deploy devel --build-tags
else
doctr deploy . --build-tags
fi
set +e
fi
after_script:
- coveralls
- codecov
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lvzmen_github/pandas-datareader.git
git@gitee.com:lvzmen_github/pandas-datareader.git
lvzmen_github
pandas-datareader
pandas-datareader
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385