Skip to content

Commit 9f58fd3

Browse files
committed
separated builds for linux and osx
1 parent cadc97b commit 9f58fd3

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

.travis.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,14 @@ matrix:
1111
python: "3.7"
1212
services:
1313
- docker
14+
install:
15+
- pip3 install --upgrade cibuildwheel
16+
- touch .cibuildwheel
1417
- os: osx
15-
osx_image: xcode8.3
16-
17-
install:
18-
# Python 3 is needed to run cibuildwheel for websockets.
19-
- if [ "${TRAVIS_OS_NAME:-}" == "osx" ]; then
20-
brew update;
21-
brew upgrade python;
22-
fi
23-
# Install cibuildwheel using pip3 to make sure Python 3 is used.
24-
- pip3 install --user --upgrade cibuildwheel
25-
# Create file '.cibuildwheel' so that extension build is not optional (c.f. setup.py).
26-
- touch .cibuildwheel
18+
language: generic
19+
install:
20+
- sudo pip2 install --upgrade cibuildwheel
21+
- touch .cibuildwheel
2722

2823
script:
2924
- cibuildwheel --output-dir wheelhouse

0 commit comments

Comments
 (0)