Skip to content

Commit 9df1b03

Browse files
authored
Merge pull request #4217 from nicoddemus/fix-macos-py37-travis
Fix MacOS py37 on Travis
2 parents 8bced74 + 28dbffd commit 9df1b03

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ jobs:
4747
env: TOXENV=py37
4848
before_install:
4949
- brew update
50+
# remove c++ include files because upgrading python as of 2018-10-23, also
51+
# attempts to upgrade gcc, and it fails because the include files already
52+
# exist. removing the include files is one of the solutions recommended by brew
53+
# this workaround might not be necessary in the future
54+
- rm '/usr/local/include/c++'
5055
- brew upgrade python
5156
- brew unlink python
5257
- brew link python

0 commit comments

Comments
 (0)