File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -126,15 +126,15 @@ matrix:
126126 - g++-5
127127 - os : osx
128128 # BUILD 14 ------------------
129- osx_image : xcode7.3
129+ osx_image : xcode9.4
130130 language : generic
131131 env :
132132 - XML_GENERATOR="castxml"
133133 - TRAVIS_PYTHON_VERSION="2"
134134 - SITECUSTOMIZELIBPATH="/usr/local/lib/python2.7/site-packages/sitecustomize.py"
135135 - os : osx
136136 # BUILD 15 ------------------
137- osx_image : xcode7.3
137+ osx_image : xcode9.4
138138 language : generic
139139 env :
140140 - XML_GENERATOR="castxml"
@@ -157,8 +157,9 @@ matrix:
157157
158158before_install :
159159 # OS X
160- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then travis_retry brew update; fi
161- - if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ $TRAVIS_PYTHON_VERSION == 3 ]]; then brew install python3; fi
160+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then travis_retry brew update && brew upgrade; fi
161+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ $TRAVIS_PYTHON_VERSION == 2 ]]; then brew install python@2; fi
162+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ $TRAVIS_PYTHON_VERSION == 3 ]]; then brew install python; fi
162163 - if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ $TRAVIS_PYTHON_VERSION == 3 ]]; then sudo ln -sf /usr/local/bin/pip3 /usr/local/bin/pip; fi
163164 - if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ $TRAVIS_PYTHON_VERSION == 3 ]]; then sudo ln -sf /usr/local/bin/python3 /usr/local/bin/python; fi
164165
You can’t perform that action at this time.
0 commit comments