Skip to content

Commit 8c95e62

Browse files
authored
Merge pull request #18 from wschin/linux-back
Bring linux builds back
2 parents eaaa878 + 318fe34 commit 8c95e62

File tree

2 files changed

+64
-10
lines changed

2 files changed

+64
-10
lines changed

.travis.yml

Lines changed: 61 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ dist: trusty
1818
services: docker
1919
# Force xcode 6.4 image to work round
2020
# https://github.com/python-pillow/pillow-wheels/issues/45
21-
osx_image: xcode9.3beta
22-
21+
# So we have the line below for OSX builds
22+
# osx_image: xcode9.3beta
2323
matrix:
24+
# Exclude the default Python 3.5 build
2425
exclude:
25-
# Exclude the default Python 3.5 build
26-
- python: 3.5
26+
- python: 3.5
2727
include:
2828
- os: osx
2929
language: generic
@@ -33,7 +33,6 @@ matrix:
3333
- MB_PYTHON_VERSION=3.5
3434
- ONNX_ML=1
3535
- MACOSX_DEPLOYMENT_TARGET=10.9
36-
3736
- os: osx
3837
language: generic
3938
sudo: required
@@ -42,7 +41,6 @@ matrix:
4241
- MB_PYTHON_VERSION=3.6
4342
- ONNX_ML=1
4443
- MACOSX_DEPLOYMENT_TARGET=10.9
45-
4644
- os: osx
4745
language: generic
4846
sudo: required
@@ -51,7 +49,6 @@ matrix:
5149
- MB_PYTHON_VERSION=3.7
5250
- ONNX_ML=1
5351
- MACOSX_DEPLOYMENT_TARGET=10.9
54-
5552
- os: osx
5653
language: generic
5754
sudo: required
@@ -60,6 +57,63 @@ matrix:
6057
- MB_PYTHON_VERSION=2.7
6158
- ONNX_ML=1
6259
- MACOSX_DEPLOYMENT_TARGET=10.9
60+
- os: linux
61+
sudo: required
62+
env:
63+
- MB_PYTHON_VERSION=2.7
64+
- ONNX_ML=1
65+
- os: linux
66+
sudo: required
67+
env:
68+
- MB_PYTHON_VERSION=2.7
69+
- ONNX_ML=1
70+
- UNICODE_WIDTH=16
71+
- os: linux
72+
sudo: required
73+
env:
74+
- MB_PYTHON_VERSION=2.7
75+
- ONNX_ML=1
76+
- PLAT=i686
77+
- os: linux
78+
sudo: required
79+
env:
80+
- MB_PYTHON_VERSION=2.7
81+
- ONNX_ML=1
82+
- UNICODE_WIDTH=16
83+
- PLAT=i686
84+
- os: linux
85+
sudo: required
86+
env:
87+
- MB_PYTHON_VERSION=3.5
88+
- ONNX_ML=1
89+
- os: linux
90+
sudo: required
91+
env:
92+
- MB_PYTHON_VERSION=3.6
93+
- ONNX_ML=1
94+
- os: linux
95+
sudo: required
96+
env:
97+
- MB_PYTHON_VERSION=3.7
98+
- ONNX_ML=1
99+
- os: linux
100+
sudo: required
101+
env:
102+
- MB_PYTHON_VERSION=3.5
103+
- ONNX_ML=1
104+
- PLAT=i686
105+
- os: linux
106+
sudo: required
107+
env:
108+
- MB_PYTHON_VERSION=3.6
109+
- ONNX_ML=1
110+
- PLAT=i686
111+
- os: linux
112+
sudo: required
113+
env:
114+
- MB_PYTHON_VERSION=3.7
115+
- ONNX_ML=1
116+
- PLAT=i686
63117

64118
before_install:
65119
- source multibuild/common_utils.sh;

config.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ function build_libs {
3838
if [ -z "$IS_OSX" ]; then
3939
cmake_dir="${wkdir_path}/cmake"
4040
mkdir -p "$cmake_dir"
41-
curl -L -O https://cmake.org/files/v3.1/cmake-3.1.2.tar.gz
42-
tar -xzf cmake-3.1.2.tar.gz -C "$cmake_dir" --strip-components 1
41+
curl -L -O https://cmake.org/files/v3.3/cmake-3.3.2.tar.gz
42+
tar -xzf cmake-3.3.2.tar.gz -C "$cmake_dir" --strip-components 1
4343
cd ${cmake_dir} && ls ${cmake_dir}
4444
./configure --prefix=${cmake_dir}/build
4545
make -j${NUMCORES} && make install
@@ -59,4 +59,4 @@ function run_tests {
5959
pip install tornado==4.5.3
6060
pip install pytest-cov nbval
6161
pytest
62-
}
62+
}

0 commit comments

Comments
 (0)