]> gitweb.factorcode.org Git - factor.git/commitdiff
travis.yml: rvm sucks, travisci sucks...
authorDoug Coleman <doug.coleman@gmail.com>
Sat, 7 Jul 2018 20:02:30 +0000 (15:02 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Sat, 7 Jul 2018 20:02:30 +0000 (15:02 -0500)
.travis.yml

index 265f8194eeebb403a6cfdfa17e32d95cd7d3201a..0e8649d65bb56d57f03a71dd76328a9882af3323 100644 (file)
@@ -44,7 +44,10 @@ before_install:
   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew services start redis; fi
   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew services start postgresql; fi
   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew services start memcached; fi
-  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then rvm get stable; fi  # https://github.com/travis-ci/travis-ci/issues/6307
+  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then rm -rf ~/.gnupg/; fi  # https://github.com/rvm/rvm/issues/3110
+  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then curl -#LO https://rvm.io/mpapis.asc; fi
+  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then gpg --import mpapis.asc; fi
+  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then curl -sSL https://get.rvm.io | bash -s stable; fi  # https://github.com/travis-ci/travis-ci/issues/6307
   - >
     wget https://github.com/vmt/udis86/archive/v1.7.2.tar.gz && tar xzvf v1.7.2.tar.gz &&
     ( cd udis86-1.7.2/ && ./autogen.sh && ./configure --enable-shared=yes && make && sudo make install ) &&