This repository was archived by the owner on Oct 18, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,6 @@ sudo: required
7
7
services :
8
8
- docker
9
9
10
- env :
11
- global :
12
- - OPENCV4NODEJS_DISABLE_AUTOBUILD=1
13
-
14
10
matrix :
15
11
include :
16
12
# - os: linux
@@ -76,9 +72,3 @@ script:
76
72
cd ./ci/$BUILD_TASK;
77
73
npm run $BUILD_TASK $TAG;
78
74
fi
79
-
80
- after_success :
81
- - if [ $BUILD_TASK = 'cover' ]; then
82
- npm install;
83
- npm run codecov -- -t $CODECOV_TOKEN;
84
- fi
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ environment:
42
42
DISABLE_ASYNC_HOOKS_TEST : 1
43
43
44
44
install :
45
+ - IF EXIST c:\opencv-prebuilt RMDIR /S /Q c:\opencv-prebuilt
45
46
# - cmd: choco install OpenCV -y -version %OPENCV_VERSION%
46
47
- IF EXIST c:\tools\opencv* CD c:\tools\opencv*
47
48
- SET OPENCV_INCLUDE_DIR=%CD%\build\include
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
- if [[ " $TRAVIS_OS_NAME " == " linux" ]];
2
+ if [[ " $TRAVIS_OS_NAME " == " linux" ]] || [[ " $TRAVIS_OS_NAME " == " osx " ]] ;
3
3
then
4
- unset OPENCV4NODEJS_DISABLE_AUTOBUILD
4
+ dirs=(
5
+ /opt/opencv-prebuilt
6
+ /usr/local/opt/opencv-prebuilt
7
+ )
8
+
9
+ for dir in ${dirs[*]} ; do if [ -d $dir ]; then rm -rf $dir ; fi ; done
5
10
fi
11
+ if [[ " $TRAVIS_OS_NAME " == " windows" ]];
12
+ then
13
+ for dir in ${dirs[*]} ; do if [ -d $dir ]; then rm -rf $dir ; fi ; done
14
+ fi
15
+
6
16
cd ../../ && \
7
17
npm install --unsafe-perm && \
8
18
npm test
You can’t perform that action at this time.
0 commit comments