Unverified Commit bb0c5439 authored by Rafi Kamal's avatar Rafi Kamal Committed by GitHub

Update Xcode version needed to run Kokoro tests and replace deprecated rubygem options (#6890)

* Update Xcode version needed to run Kokoro tests

* Replace deprecated --no-ri --no-rdoc rubygem options with --no-document
parent 601f6963
...@@ -5,10 +5,11 @@ ...@@ -5,10 +5,11 @@
## ##
# Select Xcode version # Select Xcode version
# Remember to udpate the Xcode version when xcode_9.4.1 is not available. # Remember to udpate the Xcode version when Xcode_11.0.app is not available.
# If xcode is not available, it will probaly encounter the failure for # If xcode is not available, it will probaly encounter the failure for
# "autom4te: need GNU m4 1.4 or later: /usr/bin/m4"" # "autom4te: need GNU m4 1.4 or later: /usr/bin/m4"
export DEVELOPER_DIR=/Applications/Xcode_9.4.1.app/Contents/Developer # go/kokoro/userdocs/macos/selecting_xcode.md for more information.
export DEVELOPER_DIR=/Applications/Xcode_11.0.app/Contents/Developer
## ##
# Select C/C++ compilers # Select C/C++ compilers
......
...@@ -7,8 +7,8 @@ source $HOME/.rvm/scripts/rvm ...@@ -7,8 +7,8 @@ source $HOME/.rvm/scripts/rvm
set -e # rvm commands are very verbose set -e # rvm commands are very verbose
time rvm install 2.5.0 time rvm install 2.5.0
rvm use 2.5.0 --default rvm use 2.5.0 --default
gem install rake-compiler --no-ri --no-doc gem install rake-compiler --no-document
gem install bundler --no-ri --no-doc gem install bundler --no-document
rvm osx-ssl-certs status all rvm osx-ssl-certs status all
rvm osx-ssl-certs update all rvm osx-ssl-certs update all
set -ex set -ex
...@@ -54,4 +54,3 @@ done ...@@ -54,4 +54,3 @@ done
sed 's/x86_64-darwin-11/universal-darwin/' ~/.rake-compiler/config.yml > "$CROSS_RUBY" sed 's/x86_64-darwin-11/universal-darwin/' ~/.rake-compiler/config.yml > "$CROSS_RUBY"
mv "$CROSS_RUBY" ~/.rake-compiler/config.yml mv "$CROSS_RUBY" ~/.rake-compiler/config.yml
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment