Skip to content

Commit c121105

Browse files
committed
Work around slop in Travis OSX support
1 parent 208e85c commit c121105

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ matrix:
2323
- python: pypy3
2424

2525
install:
26-
- if [[ $TRAVIS_OS_NAME == osx ]]; then brew update; fi
27-
- if [[ $TRAVIS_OS_NAME == osx ]]; then brew install openssl python$PYTHON_VERSION; fi
26+
- if [[ $TRAVIS_OS_NAME == osx ]] && [[ $PYTHON_VERSION == 3 ]]; then brew upgrade python; pip3 install --ignore-installed virtualenv; fi
2827
- if [[ $TRAVIS_OS_NAME == osx ]]; then export LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include"; fi
2928
- virtualenv --python=python$PYTHON_VERSION env
3029
- source env/bin/activate

0 commit comments

Comments
 (0)