aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio Campamá <kaipi@google.com>2016-07-15 13:59:09 -0700
committerFeng Xiao <xfxyjwf@gmail.com>2016-07-19 16:30:10 -0700
commit4b36284bdfdc77896d7c4cb9645433cf86efb069 (patch)
tree75df503125460cf8ba60d88fdf5ce0ea717452b7
parenta5ba78487d757debe34f6aff9def586d87158a8a (diff)
downloadprotobuf-3.0.0-beta-4.tar.gz
protobuf-3.0.0-beta-4.tar.bz2
protobuf-3.0.0-beta-4.zip
Uses head version of rvm to avoid shell_update_session not found error (#1791)3.0.0-beta-4
Uses head version of rvm to avoid shell_update_session not found error Fixes #1786
-rwxr-xr-xtests.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests.sh b/tests.sh
index 99e5df4e..ed901419 100755
--- a/tests.sh
+++ b/tests.sh
@@ -238,6 +238,10 @@ build_objectivec_osx() {
build_objectivec_cocoapods_integration() {
# First, load the RVM environment in bash, needed to update ruby.
source ~/.rvm/scripts/rvm
+ # Update rvm to the latest version. This is needed to solve
+ # https://github.com/google/protobuf/issues/1786 and may not be needed in the
+ # future when Travis updates the default version of rvm.
+ rvm get head
# Update ruby to 2.2.3 as the default one crashes with segmentation faults
# when using pod.
rvm use 2.2.3 --install --binary --fuzzy