1 Star 0 Fork 2

cpc_public/opencv4nodejs

forked from 小杭/opencv4nodejs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
appveyor.yml 2.19 KB
一键复制 编辑 原始数据 按行查看 历史
# appveyor file
# http://www.appveyor.com/docs/appveyor-yml
platform:
- x64
clone_folder: c:\projects\opencv4nodejs
init:
- git config --global core.autocrlf true
# cache:
# - c:\tools\opencv
# what combinations to test
environment:
OPENCV3_LATEST: 3.4.6
OPENCV4_LATEST: 4.1.0
PYTHON_VERSION: 2.7
PYTHON: "C:\\Python27-x64"
# use self build
OPENCV4NODEJS_DISABLE_AUTOBUILD: 1
matrix:
- nodejs_version: 12
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
OPENCV_VERSION: "%OPENCV4_LATEST%"
- nodejs_version: 12
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
OPENCV_VERSION: "%OPENCV3_LATEST%"
- nodejs_version: 12
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
OPENCV_VERSION: "%OPENCV4_LATEST%"
- nodejs_version: 11
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
OPENCV_VERSION: "%OPENCV4_LATEST%"
- nodejs_version: 10
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
OPENCV_VERSION: "%OPENCV4_LATEST%"
- nodejs_version: 8
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
OPENCV_VERSION: "%OPENCV4_LATEST%"
- nodejs_version: 6
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
OPENCV_VERSION: "%OPENCV4_LATEST%"
- nodejs_version: 12
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
OPENCV_VERSION: "%OPENCV4_LATEST%"
BUILD_TASK: "ENVS"
install:
- cmd: choco install OpenCV -y -version %OPENCV_VERSION%
- if not "%BUILD_TASK%" == "ENVS" SET OPENCV_INCLUDE_DIR=c:\tools\opencv\build\include
- if not "%BUILD_TASK%" == "ENVS" SET OPENCV_LIB_DIR=c:\tools\opencv\build\x64\vc14\lib
- if not "%BUILD_TASK%" == "ENVS" SET OPENCV_BIN_DIR=c:\tools\opencv\build\x64\vc14\bin
- if not "%BUILD_TASK%" == "ENVS" SET PATH=%PATH%;%OPENCV_BIN_DIR%;
- ps: Install-Product node $env:nodejs_version x64
- node --version
build: off
test_script:
- node --version
- if "%BUILD_TASK%" == "ENVS" (
cd c:\projects\opencv4nodejs\ci\envs &&
npm install &&
npm test
) else (
cd c:\projects\opencv4nodejs &&
npm install &&
cd c:\projects\opencv4nodejs\test &&
npm install &&
npm run test-appveyor &&
npm run test-externalMemTracking
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cpc_public/opencv4nodejs.git
git@gitee.com:cpc_public/opencv4nodejs.git
cpc_public
opencv4nodejs
opencv4nodejs
master

搜索帮助