Skip to content

Commit

Permalink
updated CI: travis uses now sudo on MacOS; py34 added
Browse files Browse the repository at this point in the history
  • Loading branch information
MuellerSeb committed Mar 7, 2019
1 parent 7d05ecb commit 7cff451
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
28 changes: 27 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@ matrix:
- PIP=pip
- CIBW_BUILD="cp27-*"
- COVER="off"
- INS_CIBW="$PIP install cibuildwheel==0.10.1"

- name: "Linux py34"
sudo: required
language: python
python: 3.4
services: docker
env:
- PIP=pip
- CIBW_BUILD="cp34-*"
- COVER="off"
- INS_CIBW="$PIP install cibuildwheel==0.10.1"

- name: "Linux py35"
sudo: required
Expand All @@ -21,6 +33,7 @@ matrix:
- PIP=pip
- CIBW_BUILD="cp35-*"
- COVER="off"
- INS_CIBW="$PIP install cibuildwheel==0.10.1"

- name: "Linux py36"
sudo: required
Expand All @@ -31,6 +44,7 @@ matrix:
- PIP=pip
- CIBW_BUILD="cp36-*"
- COVER="on"
- INS_CIBW="$PIP install cibuildwheel==0.10.1"

- name: "MacOS py27"
os: osx
Expand All @@ -39,6 +53,16 @@ matrix:
- PIP=pip2
- CIBW_BUILD="cp27-*"
- COVER="off"
- INS_CIBW="sudo $PIP install cibuildwheel==0.10.1"

- name: "MacOS py34"
os: osx
language: generic
env:
- PIP=pip2
- CIBW_BUILD="cp34-*"
- COVER="off"
- INS_CIBW="sudo $PIP install cibuildwheel==0.10.1"

- name: "MacOS py35"
os: osx
Expand All @@ -47,6 +71,7 @@ matrix:
- PIP=pip2
- CIBW_BUILD="cp35-*"
- COVER="off"
- INS_CIBW="sudo $PIP install cibuildwheel==0.10.1"

- name: "MacOS py36"
os: osx
Expand All @@ -55,6 +80,7 @@ matrix:
- PIP=pip2
- CIBW_BUILD="cp36-*"
- COVER="off"
- INS_CIBW="sudo $PIP install cibuildwheel==0.10.1"

env:
global:
Expand All @@ -66,7 +92,7 @@ env:

script:
# create wheels
- $PIP install cibuildwheel==0.10.1
- eval ${INS_CIBW}
- cibuildwheel --output-dir wheelhouse
# create source dist for pypi and create coverage (only once for linux py3.6)
- |
Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
environment:
TWINE_USERNAME: geostatframework
CIBW_SKIP: "cp34-* cp37-*"
CIBW_SKIP: "cp37-*"
CIBW_BEFORE_BUILD: pip install numpy==1.13.0 cython==0.26

build_script:
- pip install https://github.com/joerick/cibuildwheel/archive/c6f4f017320cc1ad6163dde9d35c496fa5cc16ae.zip
- pip install cibuildwheel==0.10.1
- cibuildwheel --output-dir wheelhouse
- python -m pip install twine
- python -m twine upload --skip-existing --repository-url https://test.pypi.org/legacy/ wheelhouse/*.whl
Expand Down

0 comments on commit 7cff451

Please sign in to comment.