Skip to content

Commit

Permalink
CI: use sudo on MacOS to install CIBW
Browse files Browse the repository at this point in the history
  • Loading branch information
MuellerSeb committed Mar 7, 2019
1 parent 5397d7f commit 6c6265e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ language: python

matrix:
include:
# use macOS for py2 since building pandas wheels takes ages on linux
# use macOS since building pandas wheels takes ages on linux
- name: "MacOS py27"
os: osx
language: generic
Expand All @@ -11,13 +11,11 @@ matrix:
- CIBW_BUILD="cp27-*"
- COVER="off"

- name: "Linux py36"
sudo: required
language: python
python: 3.6
services: docker
- name: "MacOS py36"
os: osx
language: generic
env:
- PIP=pip
- PIP=pip2
- CIBW_BUILD="cp36-*"
- COVER="on"

Expand All @@ -27,7 +25,7 @@ env:

script:
# create wheels
- $PIP install https://github.com/joerick/cibuildwheel/archive/c6f4f017320cc1ad6163dde9d35c496fa5cc16ae.zip
- sudo $PIP install cibuildwheel==0.10.1
- cibuildwheel --output-dir wheelhouse
# create source dist for pypi and create coverage (only once for linux py3.6)
- |
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def find_version(*file_paths):
platforms=["Windows", "Linux", "Solaris", "Mac OS-X", "Unix"],
include_package_data=True,
install_requires=[
"numpy >=1.13.0",
"numpy>=1.13.0",
"whichcraft", # search for ogs
"pandas>=0.23.0", # read-routines and formatting
"meshio", # import/export external meshes
Expand Down

0 comments on commit 6c6265e

Please sign in to comment.