Merge pull request #4217 from nicoddemus/fix-macos-py37-travis

Fix MacOS py37 on Travis
This commit is contained in:
Daniel Hahler
2018-10-24 17:51:49 +02:00
committed by GitHub

View File

@@ -47,6 +47,11 @@ jobs:
env: TOXENV=py37
before_install:
- brew update
# remove c++ include files because upgrading python as of 2018-10-23, also
# attempts to upgrade gcc, and it fails because the include files already
# exist. removing the include files is one of the solutions recommended by brew
# this workaround might not be necessary in the future
- rm '/usr/local/include/c++'
- brew upgrade python
- brew unlink python
- brew link python