Skip to content

Commit

Permalink
Merge 2dea71e into 4aef626
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestoarbitrio committed Sep 30, 2020
2 parents 4aef626 + 2dea71e commit 9478579
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
# Wire up travis

language: python # this works for Linux but is an error on macOS or Windows
env:
- CAN_FAIL=false
jobs:
include:
- name: "Python 3.6 on Xenial Linux"
python: 3.6 # this works for Linux but is ignored on macOS or Windows
- name: "Python 3.7 on Xenial Linux"
python: 3.7 # this works for Linux but is ignored on macOS or Windows
- name: "Python 3.8 on Xenial Linux"
python: 3.8 # this works for Linux but is ignored on macOS or Windows
- name: "Python 3.6.5 on macOS"
os: osx
osx_image: xcode9.4 # Python 3.7.4 running on macOS 10.14.4
osx_image: xcode9.4 # Python 3.6.5 running on macOS 10.14.4
language: shell # 'language: python' is an error on Travis CI macOS
before_install:
- brew update-reset
Expand All @@ -18,6 +22,7 @@ jobs:
- brew install openslide
- echo 'export PATH="/usr/local/Frameworks/Python.framework/Versions/Current/bin:$PATH"' >> /Users/travis/.bash_profile
- echo $PATH
env: CAN_FAIL=true
- name: "Python 3.7.4 on macOS"
os: osx
osx_image: xcode11.2 # Python 3.7.4 running on macOS 10.14.4
Expand All @@ -26,6 +31,14 @@ jobs:
- brew install openslide
- echo 'export PATH="/usr/local/Frameworks/Python.framework/Versions/Current/bin:$PATH"' >> /Users/travis/.bash_profile
- echo $PATH
- name: "Python 3.8.3 on macOS"
os: osx
osx_image: xcode12u
language: shell # 'language: python' is an error on Travis CI macOS
before_install:
- brew install openslide
- echo 'export PATH="/usr/local/Frameworks/Python.framework/Versions/Current/bin:$PATH"' >> /Users/travis/.bash_profile
- echo $PATH
- name: "Python 3.6.8 on Windows"
os: windows # Windows 10.0.17134 N/A Build 17134
language: shell # 'language: python' is an error on Travis CI Windows
Expand All @@ -44,6 +57,18 @@ jobs:
- wget https://github.com/openslide/openslide-winbuild/releases/download/v20171122/openslide-win64-20171122.zip -P /c/downloads
- 7z e /c/downloads/openslide-win64-20171122.zip -aoa
env: PATH=/c/Python37:/c/Python37/Scripts:/c/downloads/openslide-win64-20171122/bin:$PATH
- name: "Python 3.8.0 on Windows"
os: windows # Windows 10.0.17134 N/A Build 17134
language: shell # 'language: python' is an error on Travis CI Windows
before_install:
- choco install python --version 3.8.0
- python -m pip install --upgrade pip
- wget https://github.com/openslide/openslide-winbuild/releases/download/v20171122/openslide-win64-20171122.zip -P /c/downloads
- 7z e /c/downloads/openslide-win64-20171122.zip -aoa
env: CAN_FAIL=true;PATH=/c/Python38:/c/Python38/Scripts:/c/downloads/openslide-win64-20171122/bin:$PATH
allow_failures:
- env: CAN_FAIL=true
fast_finish: true

# command to install dependencies
install:
Expand Down

0 comments on commit 9478579

Please sign in to comment.