Skip to content

Commit

Permalink
Merge pull request #259 from benfred/travis_rvm_fix
Browse files Browse the repository at this point in the history
Fix rvm issue on travis builds
  • Loading branch information
Leonid Boytsov authored and GitHub committed Dec 6, 2017
2 parents 80ec7be + ebc89d0 commit 34981bb
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 34981bb

Please sign in to comment.