Pull install back into scripting

This commit is contained in:
Tom Parker-Shemilt 2020-03-15 00:00:01 +00:00
parent 2dfddda85f
commit d297c7af77
2 changed files with 9 additions and 5 deletions

View File

@ -7,11 +7,6 @@ jobs:
- language: objective-c
os: osx
osx_image: xcode9.2
addons:
homebrew:
packages:
- python
update: true
- language: minimal
dist: xenial
os: linux

View File

@ -2,6 +2,15 @@
set -ex
export HOMEBREW_NO_INSTALL_CLEANUP=1
brew update
# An error occurs when upgrading Python, but appears to be benign, hence the "|| true"
#
# Error: undefined method `any?' for nil:NilClass
# /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:227:in `depends_on'
brew upgrade python || true
which python3
python3 --version
which pip3