]> jfr.im git - irc/kvirc/KVIrc.git/commitdiff
Fix macOS Travis build
authorBenjamin Staneck <redacted>
Thu, 28 Dec 2017 20:48:21 +0000 (21:48 +0100)
committerGitHub <redacted>
Thu, 28 Dec 2017 20:48:21 +0000 (21:48 +0100)
Newer versions of rvm require you to import their key before you can use it.

.travis.yml

index cf75a2ea94573ad5ef33ae13d3839a29380a6799..3c7648bdc39bc51bfa4e7cedb6e6cc7b12e328ad 100644 (file)
@@ -58,6 +58,7 @@ before_install:
     - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sw_vers; fi
     - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sysctl -a | grep cpu; fi
     - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sysctl -a | grep mem; fi
+    - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then command curl -sSL https://rvm.io/mpapis.asc | gpg --import -; fi
     - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then rvm get head; fi
     - export encrypted_da8de0aafbfc_key=no
     - pwd