Skip to content

Commit

Permalink
Fix rvm issue on travis builds
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Ben Frederickson committed Dec 6, 2017
1 parent 80ec7be commit ebc89d0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ebc89d0

Please sign in to comment.