File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -199,6 +199,7 @@ matrix:
199199 - ENABLE_CONTRIB=1
200200
201201before_install :
202+ - echo $ENABLE_CONTRIB > contrib.enabled
202203 - source multibuild/common_utils.sh
203204 - source multibuild/travis_steps.sh
204205 - python find_version.py
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ before_test:
107107
108108 cd ..
109109
110- "%PYTHON%/python.exe" -m pip install --no-index --find-links=%APPVEYOR_BUILD_FOLDER%\dist\ opencv-python
110+ if %ENABLE_CONTRIB% EQU 0 ( "%PYTHON%/python.exe" -m pip install --no-index --find-links=%APPVEYOR_BUILD_FOLDER%\dist\ opencv-python) else ("%PYTHON%/python.exe" -m pip install --no-index --find-links=%APPVEYOR_BUILD_FOLDER%\dist\ opencv-contrib-python)
111111
112112test_script :
113113- cmd : >-
Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ echo 'PIP and brew installs'
1010
1111pip install -r requirements.txt
1212
13+ ENABLE_CONTRIB=$( < contrib.enabled)
14+
1315echo ' Config make'
1416
1517cd opencv
You can’t perform that action at this time.
0 commit comments