代码拉取完成,页面将自动刷新
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。