代码拉取完成,页面将自动刷新
image: Visual Studio 2017
platform: x64
clone_script:
- cmd: >-
git clone -q --branch=%APPVEYOR_REPO_BRANCH% https://github.com/%APPVEYOR_REPO_NAME%.git %APPVEYOR_BUILD_FOLDER%
&& cd %APPVEYOR_BUILD_FOLDER%
&& git checkout -qf %APPVEYOR_REPO_COMMIT%
&& git submodule update --init --recursive
environment:
global:
DISTUTILS_USE_SDK: 1
MSSdk: 1
matrix:
- PYTHON: "C:\\Python27"
PYTHON_VERSION: "2.7"
CPP: 14
CONFIG: Release
- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6"
CPP: 14
CONFIG: Release
install:
- ps: "ls \"C:/\""
- cmd: '"%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" %PLATFORM%'
- ps: |
if ($env:PLATFORM -eq "x64") { $env:PYTHON = "$env:PYTHON-x64" }
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "python --version"
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
- "python -m pip install --upgrade pip setuptools"
- "pip install pipenv"
build_script:
# Build the compiled extension
- "pipenv install --dev"
- "pipenv run pip install -e ."
test_script:
- "pipenv run python -m unittest discover"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。