Merge pull request #4217 from nicoddemus/fix-macos-py37-travis
Fix MacOS py37 on Travis
This commit is contained in:
commit
9df1b037d6
|
@ -47,6 +47,11 @@ jobs:
|
||||||
env: TOXENV=py37
|
env: TOXENV=py37
|
||||||
before_install:
|
before_install:
|
||||||
- brew update
|
- 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 upgrade python
|
||||||
- brew unlink python
|
- brew unlink python
|
||||||
- brew link python
|
- brew link python
|
||||||
|
|
Loading…
Reference in New Issue