Skip to content

Commit ffdb08e

Browse files
fixes appveyor.yml
1 parent 8a25693 commit ffdb08e

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

appveyor.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,12 @@ environment:
5050

5151
install:
5252
- cmd: choco install OpenCV -y -version %OPENCV_VERSION%
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 && \
57-
SET PATH=%PATH%;%OPENCV_BIN_DIR%;
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
57+
SET PATH=%PATH%;%OPENCV_BIN_DIR%;
58+
)
5859
- ps: Install-Product node $env:nodejs_version x64
5960
- node --version
6061
- npm install -g node-gyp
@@ -65,13 +66,13 @@ build: off
6566

6667
test_script:
6768
- node --version
68-
- if "%BUILD_TASK%" == "ENVS" ( \
69-
cd .\ci\envs \
70-
npm install \
71-
npm test \
69+
- if "%BUILD_TASK%" == "ENVS" (
70+
cd .\ci\envs
71+
npm install
72+
npm test
7273
) else ( \
73-
cd c:\projects\opencv4nodejs\test \
74-
npm install \
75-
npm run test-appveyor \
76-
npm run test-externalMemTracking \
74+
cd c:\projects\opencv4nodejs\test
75+
npm install
76+
npm run test-appveyor
77+
npm run test-externalMemTracking
7778
)

0 commit comments

Comments
 (0)