代码拉取完成,页面将自动刷新
同步操作将从 连享会/statsmodels 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# Travis script that uses miniconda in place of the system installed python
# versions. Allows substantial flexibility for choosing versions of
# required packages and is simpler to use to test up-to-date scientific Python
# stack
dist: trusty
sudo: required
language: python
env:
# Default values for common packages, override as needed
global:
- OPTIONAL=
- COVERAGE=false
- USEMPL=true
- MATPLOTLIB=
- DOCBUILD=false
matrix:
fast_finish: true
include:
- python: 2.7
env:
- PYTHON=3.6
- COVERAGE=true
- python: 2.7
env:
- PYTHON=2.7
- NUMPY=1.11
- MATPLOTLIB=1.5
- COVERAGE=true
- python: 2.7
env:
- PYTHON=3.5
- NUMPY=1.10
- SCIPY=0.17
- PANDAS=0.18
- MATPLOTLIB=1.5
- python: 2.7
env:
- PYTHON=3.4
- NUMPY=1.10
- SCIPY=0.16
- PANDAS=0.16
- MATPLOTLIB=1.4
- OPTIONAL="libgfortran=1.0"
- python: 2.7
env:
- PYTHON=3.6
- DOCBUILD=true
- python: 2.7
env:
- PYTHON=2.7
- NUMPY=1.9
- SCIPY=0.15
- PANDAS=0.15
- USEMPL=false
- OPTIONAL="libgfortran=1.0"
- python: 2.7
env:
- PYTHON=3.3
- NUMPY=1.9
- SCIPY=0.14
- MATPLOTLIB=1.4
- PANDAS=0.14
notifications:
email:
on_success: always
# Setup anaconda
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b -p /home/travis/miniconda
- export PATH=/home/travis/miniconda/bin:$PATH
- export MKL_NUM_THREADS=1
- export NUMEXPR_NUM_THREADS=1
- export OMP_NUM_THREADS=1
- conda config --set always_yes yes
- conda update --quiet conda
# Fix for headless TravisCI
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
# Avoid noise from matplotlib
- mkdir -p $HOME/.config/matplotlib
- SRCDIR=$PWD
# Build package list to avoid empty package=versions; only needed for versioned packages
- PKGS="python=${PYTHON}"
- PKGS="${PKGS} numpy"; if [ ${NUMPY} ]; then PKGS="${PKGS}=${NUMPY}"; fi
- PKGS="${PKGS} scipy"; if [ ${SCIPY} ]; then PKGS="${PKGS}=${SCIPY}"; fi
- PKGS="${PKGS} patsy"; if [ ${PATSY} ]; then PKGS="${PKGS}=${PATSY}"; fi
- PKGS="${PKGS} pandas"; if [ ${PANDAS} ]; then PKGS="${PKGS}=${PANDAS}"; fi
- PKGS="${PKGS} Cython"; if [ ${CYTHON} ]; then PKGS="${PKGS}=${CYTHON}"; fi
- if [ ${USEMPL} = true ]; then PKGS="${PKGS} matplotlib"; if [ ${MATPLOTLIB} ]; then PKGS="${PKGS}=${MATPLOTLIB}"; fi; fi
- if [ ${COVERAGE} = true ]; then export COVERAGE_OPTS=" --cov-config=.travis_coveragerc --cov=statsmodels "; else export COVERAGE_OPTS=""; fi
- echo conda create --yes --quiet -n statsmodels-test ${PKGS} ${OPTIONAL} pyyaml
- conda create --yes --quiet -n statsmodels-test ${PKGS} ${OPTIONAL} pyyaml joblib
- source activate statsmodels-test
- pip install 'pytest<4' pytest-xdist nose
- if [ ${COVERAGE} = true ]; then pip install codecov coverage coveralls pytest-cov; fi
- if [ ${DOCBUILD} = true ]; then bash tools/ci_docbuild_install.sh; fi;
- export SRCDIR=$PWD
# Ensure tests are correctly gathered by xdist
- export PYTHONHASHSEED=0
# Install packages
install:
- python setup.py build_ext --inplace
- python setup.py develop
script:
# Show versions
- python -c 'import statsmodels.api as sm; sm.show_versions();'
# docbuild and exit, if required
- if [ ${DOCBUILD} = true ]; then cd ${SRCDIR}/docs; bash ${SRCDIR}/tools/ci_docbuild.sh; exit 0; fi;
# Run tests
- echo pytest -n 2 ${COVERAGE_OPTS} statsmodels --skip-examples
- pytest ${COVERAGE_OPTS} statsmodels --skip-examples
after_success:
- if [ ${COVERAGE} = true ]; then coveralls --rcfile=${SRCDIR}/.travis_coveragerc; fi
- if [ ${COVERAGE} = true ]; then codecov; fi
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。