Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Commit 5107c5c

Browse files
author
Dane Springmeyer
committed
workaround rvm bug on osx
1 parent bf6700b commit 5107c5c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ env:
7575
- secure: bsD0VyN6F6+ratG/C2AB1GrbmaPGyvaAgjZXd7tsQPYl+TR3BT643T9GikgN5IJdbjVBOJDfSqk76g/UlfLl9bRnoybP8tJsZJhCyMYKyRNGJZBIOyEVe6j5FrcT5ejBO0EIGaw2fXwSkG92pg7CFQOAPkVNgcl/H0XNdMa3Q/8=
7676

7777
before_install:
78+
# workaround travis rvm bug
79+
# https://github.com/travis-ci/travis-ci/issues/6307
80+
# http://superuser.com/questions/1044130/why-am-i-having-how-can-i-fix-this-error-shell-session-update-command-not-f
81+
- |
82+
if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
83+
rvm get head || true
84+
fi
7885
- scripts/validate_tag.sh
7986
- if [[ $(uname -s) == 'Darwin' ]]; then brew uninstall --force node; fi;
8087
- source ./scripts/install_node.sh ${NODE_VERSION}

0 commit comments

Comments
 (0)