Skip to content

Commit 4fe79a1

Browse files
committed
fix command curl ... line for osx
1 parent a5bdf0d commit 4fe79a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ before_install: # Use this to prepare the system to install prerequisites or dep
8686
- echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
8787
# use stable rvm to avoid "shell_session_update: command not found" error on OSX.
8888
# https://github.com/travis-ci/travis-ci/issues/6307
89-
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; command curl -sSL https://rvm.io/mpapis.asc | gpg --import -; then rvm get stable; fi
89+
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then set -x; gpg --version; gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB || command curl -sSL https://rvm.io/mpapis.asc | gpg --import -; rvm get stable; set +x; fi
9090
# Define some config vars
9191
install:
9292
- export CI_SOURCE_PATH=$(pwd)

0 commit comments

Comments
 (0)