From ebc89d07f4f46814be98f196693987731e852f96 Mon Sep 17 00:00:00 2001 From: Ben Frederickson Date: Tue, 5 Dec 2017 10:53:26 -0800 Subject: [PATCH] Fix rvm issue on travis builds We were seeing an error on OSX build in travis, complaining about shell_session_update not being found. This seems to be the same issue as here https://github.com/travis-ci/travis-ci/issues/6307 Fix by getting latest stable rvm. --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ec490b6..d75cf7d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,7 +20,10 @@ before_install: - | if [ "$TRAVIS_OS_NAME" = "linux" ]; then export CXX=g++-4.8 CC=gcc-4.8; fi if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "${PYTHON:0:1}" = "3" ]; then - brew update; brew install python3; rvm get head || true + brew update + brew install python3 + command curl -sSL https://rvm.io/mpapis.asc | gpg --import -; + rvm get stable fi pip install --user --upgrade pip virtualenv virtualenv -p python$PYTHON venv