File tree Expand file tree Collapse file tree 1 file changed +13
-15
lines changed Expand file tree Collapse file tree 1 file changed +13
-15
lines changed Original file line number Diff line number Diff line change @@ -50,15 +50,11 @@ environment:
50
50
51
51
install :
52
52
- cmd : choco install OpenCV -y -version %OPENCV_VERSION%
53
- if ($env:BUILD_TASK -neq "ENVS") {
54
- appveyor DownloadFile https://github.com/bazelbuild/bazel/releases/download/0.28.1/bazel-0.28.1-windows-x86_64.exe -FileName bazel.exe
55
- }
56
- - if not "%BUILD_TASK%" == "ENVS" (
57
- SET OPENCV_INCLUDE_DIR=c:\tools\opencv\build\include
58
- SET OPENCV_LIB_DIR=c:\tools\opencv\build\x64\vc14\lib
59
- SET OPENCV_BIN_DIR=c:\tools\opencv\build\x64\vc14\bin
53
+ - if not "%BUILD_TASK%" == "ENVS" \
54
+ SET OPENCV_INCLUDE_DIR=c:\tools\opencv\build\include && \
55
+ SET OPENCV_LIB_DIR=c:\tools\opencv\build\x64\vc14\lib && \
56
+ SET OPENCV_BIN_DIR=c:\tools\opencv\build\x64\vc14\bin && \
60
57
SET PATH=%PATH%;%OPENCV_BIN_DIR%;
61
- )
62
58
- ps : Install-Product node $env:nodejs_version x64
63
59
- node --version
64
60
- npm install -g node-gyp
@@ -69,11 +65,13 @@ build: off
69
65
70
66
test_script :
71
67
- node --version
72
- - if "%BUILD_TASK%" == "ENVS" (
73
- cmd : cd .\ci\envs
74
- ) else (
75
- cmd : cd c:\projects\opencv4nodejs\test
76
- npm install
77
- npm run test-appveyor
78
- npm run test-externalMemTracking
68
+ - if "%BUILD_TASK%" == "ENVS" ( \
69
+ cd .\ci\envs \
70
+ npm install \
71
+ npm test \
72
+ ) else ( \
73
+ cd c:\projects\opencv4nodejs\test \
74
+ npm install \
75
+ npm run test-appveyor \
76
+ npm run test-externalMemTracking \
79
77
)
You can’t perform that action at this time.
0 commit comments