代码拉取完成,页面将自动刷新
environment:
global:
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
# /E:ON and /V:ON options are not enabled in the batch script intepreter
# See: http://stackoverflow.com/a/13751649/163740
WITH_COMPILER: "cmd /E:ON /V:ON /C .\\appveyor\\run_with_compiler.cmd"
matrix:
# Pre-installed Python versions, which Appveyor may upgrade to
# a later point release.
- PYTHON: "C:\\Miniconda"
PYTHON_VERSION: "2.7"
FFMPEG_VERSION: "3.2.4"
PYTHON_ARCH: "32"
CONDA_PY: "27"
CONDA_NPY: "19"
- PYTHON: "C:\\Miniconda35"
PYTHON_VERSION: "3.5"
FFMPEG_VERSION: "3.2.4"
PYTHON_ARCH: "32"
CONDA_PY: "35"
CONDA_NPY: "110"
- PYTHON: "C:\\Miniconda36"
PYTHON_VERSION: "3.6"
FFMPEG_VERSION: "3.2.4"
PYTHON_ARCH: "32"
CONDA_PY: "36"
CONDA_NPY: "112"
- PYTHON: "C:\\Miniconda-x64"
PYTHON_VERSION: "2.7"
FFMPEG_VERSION: "3.2.4"
PYTHON_ARCH: "64"
CONDA_PY: "27"
CONDA_NPY: "19"
- PYTHON: "C:\\Miniconda35-x64"
PYTHON_VERSION: "3.5"
FFMPEG_VERSION: "3.2.4"
PYTHON_ARCH: "64"
CONDA_PY: "35"
CONDA_NPY: "110"
- PYTHON: "C:\\Miniconda36-x64"
PYTHON_VERSION: "3.6"
FFMPEG_VERSION: "3.2.4"
PYTHON_ARCH: "64"
CONDA_PY: "36"
CONDA_NPY: "112"
# older FFMPEG versions
- PYTHON: "C:\\Miniconda36-x64"
PYTHON_VERSION: "3.5"
FFMPEG_VERSION: "2.8.6"
PYTHON_ARCH: "64"
CONDA_PY: "35"
CONDA_NPY: "110"
init:
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"
install:
- ECHO "Filesystem root:"
- ps: "ls \"C:/\""
- ECHO "Installed SDKs:"
- ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\""
# Prepend to the PATH of this build
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%CONDA_ROOT%\\Library\\bin;%PATH%"
# Install dependencies
- conda config --set always_yes true
- conda config --add channels conda-forge
- conda update conda
- conda install --yes conda-build jinja2 anaconda-client
- conda create -q -n test-environment python=%PYTHON_VERSION%
pip "setuptools>=0.24" Pillow "Cython>=0.22" "nose>=1.3"
"numpy>=1.9" "wheel>=0.24" ffmpeg=%FFMPEG_VERSION% msinttypes
- activate test-environment
# workaround for missing vcvars64.bat in py34 64bit
# - "cp appveyor/vcvars64.bat \"C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/amd64\""
# Check that we have the expected version and architecture for Python
- "python --version"
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
build: false # Not a C# project, build stuff at the test step instead.
before_test:
# Need to build before tests
- "%CMD_IN_ENV% python setup.py build_ext --inplace --ffmpeg-dir=%CONDA_PREFIX%\\Library"
test_script:
# Build the compiled extension and run the project tests
- "%CMD_IN_ENV% nosetests"
after_test:
# If tests are successful, create binary packages for the project.
- "%CMD_IN_ENV% python setup.py bdist_wheel"
- ps: "ls dist"
artifacts:
- path: dist\*
#on_success:
# - TODO: upload the content of dist/*.whl to a public wheelhouse
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。