-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy pathappveyor.yml
43 lines (35 loc) · 888 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
platform:
- x64
image:
- Visual Studio 2015
- Visual Studio 2017
init:
- git config --global core.autocrlf true
environment:
matrix:
- nodejs_version: 10
clone_folder: c:\projects\opencv-build
install:
- cmd: choco install cmake -y
- cmd: choco upgrade cmake
- ps: Install-Product node $env:nodejs_version x64
- node --version
- SET PATH=%PATH%;C:\Program Files\CMake\bin;
build: off
test_script:
# install and run tests of opencv-build
- cd c:\projects\opencv-build
- npm install
- npm test
# install opencv4nodejs and run tests
- cd c:\projects
- git clone https://github.com/justadudewhohacks/opencv4nodejs
- cd opencv4nodejs
# uninstall npm version of opencv-build
- npm uninstall opencv-build
# install new opencv-build version
- npm install ../opencv-build
- npm install
- cd test
- npm install
- npm run test-appveyor