Pull install back into scripting
This commit is contained in:
parent
2dfddda85f
commit
d297c7af77
@ -7,11 +7,6 @@ jobs:
|
|||||||
- language: objective-c
|
- language: objective-c
|
||||||
os: osx
|
os: osx
|
||||||
osx_image: xcode9.2
|
osx_image: xcode9.2
|
||||||
addons:
|
|
||||||
homebrew:
|
|
||||||
packages:
|
|
||||||
- python
|
|
||||||
update: true
|
|
||||||
- language: minimal
|
- language: minimal
|
||||||
dist: xenial
|
dist: xenial
|
||||||
os: linux
|
os: linux
|
||||||
|
|||||||
@ -2,6 +2,15 @@
|
|||||||
|
|
||||||
set -ex
|
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
|
which python3
|
||||||
python3 --version
|
python3 --version
|
||||||
which pip3
|
which pip3
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user