Skip to content

Fix Travis test on macOS #371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .ci/travis-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
set -e -x

if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
# Travis xcode7.3 image is still using deprecated homebrew/versions
# https://docs.brew.sh/Versions
brew untap homebrew/versions
brew update >/dev/null
brew upgrade pyenv
eval "$(pyenv init -)"
Expand Down
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,25 @@ matrix:

include:
- os: osx
osx_image: xcode7.3
osx_image: xcode10.2
# Travis macOS env does not support Python yet,
# so we have to set things up manually in install.sh.
env: BUILD=tests,wheels PYTHON_VERSION=3.5.5
env: BUILD=tests,wheels PYTHON_VERSION=3.5.9
branches: {only: [releases]}

- os: osx
osx_image: xcode7.3
env: BUILD=tests,wheels PYTHON_VERSION=3.6.5
osx_image: xcode10.2
env: BUILD=tests,wheels PYTHON_VERSION=3.6.10
branches: {only: [releases]}

- os: osx
osx_image: xcode7.3
env: BUILD=tests,wheels PYTHON_VERSION=3.7.0
osx_image: xcode10.2
env: BUILD=tests,wheels PYTHON_VERSION=3.7.7
branches: {only: [releases]}

- os: osx
osx_image: xcode7.3
env: BUILD=tests,wheels PYTHON_VERSION=3.8.0
osx_image: xcode10.2
env: BUILD=tests,wheels PYTHON_VERSION=3.8.3
branches: {only: [releases]}

- os: linux
Expand Down