Skip to content

Commit b38fff0

Browse files
committed
bump OpenCV version to 3.4.2, udpate multibuild, add Python 3.7 support, update Dockerfiles
1 parent deafb67 commit b38fff0

File tree

6 files changed

+100
-4
lines changed

6 files changed

+100
-4
lines changed

.travis.yml

+57
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ matrix:
5656
- MB_PYTHON_VERSION=3.6
5757
- ENABLE_CONTRIB=0
5858
- ENABLE_HEADLESS=0
59+
- os: osx
60+
language: generic
61+
osx_image: xcode7.3
62+
env:
63+
- MB_PYTHON_VERSION=3.7
64+
- ENABLE_CONTRIB=0
65+
- ENABLE_HEADLESS=0
5966

6067
# headless builds for MacOS
6168
- os: osx
@@ -86,6 +93,13 @@ matrix:
8693
- MB_PYTHON_VERSION=3.6
8794
- ENABLE_CONTRIB=0
8895
- ENABLE_HEADLESS=1
96+
- os: osx
97+
language: generic
98+
osx_image: xcode7.3
99+
env:
100+
- MB_PYTHON_VERSION=3.7
101+
- ENABLE_CONTRIB=0
102+
- ENABLE_HEADLESS=1
89103

90104
# Contrib builds for MacOS
91105
- os: osx
@@ -116,6 +130,13 @@ matrix:
116130
- MB_PYTHON_VERSION=3.6
117131
- ENABLE_CONTRIB=1
118132
- ENABLE_HEADLESS=0
133+
- os: osx
134+
language: generic
135+
osx_image: xcode7.3
136+
env:
137+
- MB_PYTHON_VERSION=3.7
138+
- ENABLE_CONTRIB=1
139+
- ENABLE_HEADLESS=0
119140

120141
# headless contrib builds for MacOS
121142
- os: osx
@@ -146,6 +167,13 @@ matrix:
146167
- MB_PYTHON_VERSION=3.6
147168
- ENABLE_CONTRIB=1
148169
- ENABLE_HEADLESS=1
170+
- os: osx
171+
language: generic
172+
osx_image: xcode7.3
173+
env:
174+
- MB_PYTHON_VERSION=3.7
175+
- ENABLE_CONTRIB=1
176+
- ENABLE_HEADLESS=1
149177

150178
# default builds for Linux
151179
- os: linux
@@ -207,6 +235,13 @@ matrix:
207235
- ENABLE_CONTRIB=0
208236
- ENABLE_HEADLESS=0
209237
- TEST_DEPENDS=numpy==1.11.3
238+
- os: linux
239+
env:
240+
- MB_PYTHON_VERSION=3.7
241+
- PLAT=i686
242+
- ENABLE_CONTRIB=0
243+
- ENABLE_HEADLESS=0
244+
- TEST_DEPENDS=numpy==1.14.5
210245

211246
# headless builds for Linux
212247
- os: linux
@@ -268,6 +303,13 @@ matrix:
268303
- ENABLE_CONTRIB=0
269304
- ENABLE_HEADLESS=1
270305
- TEST_DEPENDS=numpy==1.11.3
306+
- os: linux
307+
env:
308+
- MB_PYTHON_VERSION=3.7
309+
- PLAT=i686
310+
- ENABLE_CONTRIB=0
311+
- ENABLE_HEADLESS=1
312+
- TEST_DEPENDS=numpy==1.14.5
271313

272314
# contrib builds for Linux
273315
- os: linux
@@ -329,6 +371,14 @@ matrix:
329371
- TEST_DEPENDS=numpy==1.11.3
330372
- ENABLE_CONTRIB=1
331373
- ENABLE_HEADLESS=0
374+
- os: linux
375+
env:
376+
- MB_PYTHON_VERSION=3.7
377+
- PLAT=i686
378+
- TEST_DEPENDS=numpy==1.14.5
379+
- ENABLE_CONTRIB=1
380+
- ENABLE_HEADLESS=0
381+
332382

333383
# headless contrib builds for Linux
334384
- os: linux
@@ -390,6 +440,13 @@ matrix:
390440
- TEST_DEPENDS=numpy==1.11.3
391441
- ENABLE_CONTRIB=1
392442
- ENABLE_HEADLESS=1
443+
- os: linux
444+
env:
445+
- MB_PYTHON_VERSION=3.7
446+
- PLAT=i686
447+
- TEST_DEPENDS=numpy==1.14.5
448+
- ENABLE_CONTRIB=1
449+
- ENABLE_HEADLESS=1
393450

394451
# The first line is printed in the folding header in Travis output
395452
before_install: |

appveyor.yml

+32
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ environment:
3838
ENABLE_CONTRIB: 0
3939
ENABLE_HEADLESS: 0
4040

41+
- PYTHON: "C:/Python37"
42+
ENABLE_CONTRIB: 0
43+
ENABLE_HEADLESS: 0
44+
45+
- PYTHON: "C:/Python37-x64"
46+
ENABLE_CONTRIB: 0
47+
ENABLE_HEADLESS: 0
48+
4149
- PYTHON: "C:/Python27"
4250
ENABLE_CONTRIB: 1
4351
ENABLE_HEADLESS: 0
@@ -70,6 +78,14 @@ environment:
7078
ENABLE_CONTRIB: 1
7179
ENABLE_HEADLESS: 0
7280

81+
- PYTHON: "C:/Python37"
82+
ENABLE_CONTRIB: 1
83+
ENABLE_HEADLESS: 0
84+
85+
- PYTHON: "C:/Python37-x64"
86+
ENABLE_CONTRIB: 1
87+
ENABLE_HEADLESS: 0
88+
7389
- PYTHON: "C:/Python27"
7490
ENABLE_CONTRIB: 0
7591
ENABLE_HEADLESS: 1
@@ -102,6 +118,14 @@ environment:
102118
ENABLE_CONTRIB: 0
103119
ENABLE_HEADLESS: 1
104120

121+
- PYTHON: "C:/Python37"
122+
ENABLE_CONTRIB: 0
123+
ENABLE_HEADLESS: 1
124+
125+
- PYTHON: "C:/Python37-x64"
126+
ENABLE_CONTRIB: 0
127+
ENABLE_HEADLESS: 1
128+
105129
- PYTHON: "C:/Python27"
106130
ENABLE_CONTRIB: 1
107131
ENABLE_HEADLESS: 1
@@ -134,6 +158,14 @@ environment:
134158
ENABLE_CONTRIB: 1
135159
ENABLE_HEADLESS: 1
136160

161+
- PYTHON: "C:/Python37"
162+
ENABLE_CONTRIB: 1
163+
ENABLE_HEADLESS: 1
164+
165+
- PYTHON: "C:/Python37-x64"
166+
ENABLE_CONTRIB: 1
167+
ENABLE_HEADLESS: 1
168+
137169
matrix:
138170
fast_finish: true
139171

opencv

Submodule opencv updated 1097 files

opencv_contrib

Submodule opencv_contrib updated 346 files

setup.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,14 @@ def main():
2222
# Only import 3rd-party modules after having installed all the build dependencies:
2323
# any of them, or their dependencies, can be updated during that process,
2424
# leading to version conflicts
25-
numpy_version = get_or_install("numpy", "1.11.3" if sys.version_info[:2] >= (3, 6) else "1.11.1")
25+
minimum_supported_numpy = "1.11.1"
26+
27+
if sys.version_info[:2] >= (3, 6):
28+
minimum_supported_numpy = "1.11.3"
29+
if sys.version_info[:2] >= (3, 7):
30+
minimum_supported_numpy = "1.14.5"
31+
32+
numpy_version = get_or_install("numpy", minimum_supported_numpy)
2633
get_or_install("scikit-build")
2734
import skbuild
2835

0 commit comments

Comments
 (0)