diff options
author | Joona Hoikkala <joohoi@users.noreply.github.com> | 2018-01-09 18:48:05 +0300 |
---|---|---|
committer | Brad Warren <bmw@users.noreply.github.com> | 2018-01-09 18:48:05 +0300 |
commit | 62ffcf53738760f901d8ad3b31bff3855d1648c6 (patch) | |
tree | aa337e3d586ab4263974307e79f111421ba40dbb /.travis.yml | |
parent | d557475bb6f921b7bdb0459d77a162d673044dce (diff) |
Fix macOS builds for Python2.7 in Travis (#5378)
* Add OSX Python2 tests
* Make sure python2 is originating from homebrew on macOS
* Upgrade the already installed python2 instead of trying to reinstall
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 3d41bfa4b..35666d8e6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ cache: - $HOME/.cache/pip before_install: - - '([ $TRAVIS_OS_NAME == linux ] && dpkg -s libaugeas0) || (brew update && brew install augeas python3)' + - '([ $TRAVIS_OS_NAME == linux ] && dpkg -s libaugeas0) || (brew update && brew install augeas python3 && brew upgrade python && brew link python)' before_script: - 'if [ $TRAVIS_OS_NAME = osx ] ; then ulimit -n 1024 ; fi' |