Skip to content

Commit

Permalink
Fix macOS builds for Python2.7 in Travis (certbot#5378)
Browse files Browse the repository at this point in the history
* Add OSX Python2 tests

* Make sure python2 is originating from homebrew on macOS

* Upgrade the already installed python2 instead of trying to reinstall
joohoi authored and bmw committed Jan 9, 2018
1 parent d557475 commit 62ffcf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit 62ffcf5

Please sign in to comment.