Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Commit

Permalink
Workaround for RVM/TravisCI bug caused by the presence of node-which
Browse files Browse the repository at this point in the history
  • Loading branch information
andymantell committed Jun 6, 2017
1 parent 784d62f commit 238a76c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ python:
- "3.4"

before_install:
- which curl
- which which
# Work around the presence of node-which causing rvm to fail
# See https://github.com/travis-ci/travis-ci/issues/5092#issuecomment-245937070
- if [ -f node_modules/.bin/which ]; then mv node_modules/.bin/which node_modules/.bin/which.backup; fi
- rvm install 2.4.1
- if [ -f node_modules/.bin/which.backup ]; then mv node_modules/.bin/which.backup node_modules/.bin/which; fi
- sudo apt-get -y install python3-pip python-dev

cache:
Expand Down

0 comments on commit 238a76c

Please sign in to comment.