Skip to content

Commit f9d0c95

Browse files
committed
macOS build time is suddenly fast, trying same settings for linux
1 parent 327d9ec commit f9d0c95

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.travis.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ matrix:
5555
# - ENABLE_CONTRIB=0
5656

5757
# # Contrib builds for MacOS
58-
- os: osx
59-
language: generic
60-
osx_image: xcode8.2
61-
env:
62-
- MB_PYTHON_VERSION=2.7
63-
- ENABLE_CONTRIB=1
58+
# - os: osx
59+
# language: generic
60+
# osx_image: xcode8.2
61+
# env:
62+
# - MB_PYTHON_VERSION=2.7
63+
# - ENABLE_CONTRIB=1
6464
# - os: osx
6565
# language: generic
6666
# osx_image: xcode8.2
@@ -140,11 +140,11 @@ matrix:
140140
# - ENABLE_CONTRIB=0
141141

142142
# contrib builds for Linux
143-
# - os: linux
144-
# env:
145-
# - MB_PYTHON_VERSION=2.7
146-
# - DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64
147-
# - ENABLE_CONTRIB=1
143+
- os: linux
144+
env:
145+
- MB_PYTHON_VERSION=2.7
146+
- DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64
147+
- ENABLE_CONTRIB=1
148148
# - os: linux
149149
# env:
150150
# - MB_PYTHON_VERSION=2.7

travis/build-wheels.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@ for PYBIN in /opt/python/cp$PYTHON_VERSION*/bin; do
7272

7373
if [[ $PYTHON_VERSION == 2* ]]; then
7474
echo 'Build for Py2'
75-
(cd build; make -j2 opencv_python2)
75+
(cd build; make -j8 opencv_python2)
7676
fi
7777

7878
if [[ $PYTHON_VERSION == 3* ]]; then
7979
echo 'Build for Py3'
80-
(cd build; make -j2 opencv_python3)
80+
(cd build; make -j8 opencv_python3)
8181
fi
8282

8383

0 commit comments

Comments
 (0)