From 9fc629c3ccacf9c77678633604839bc8ad2960b6 Mon Sep 17 00:00:00 2001 From: Greg Hendershott Date: Fri, 6 Jun 2014 14:42:57 -0400 Subject: [PATCH 1/2] Try getting install-racket.sh using git clone instead of curl History/background: 1. Originally, used curl with raw.github.com to get the latest version of install-racket.sh. 2. But GitHub discourages using raw.github.com. So switched to using the GitHub "releases" feature to make install-racket.sh available. But that's a PITA: (a) Need to make each release, and furthermore (b) there's no URL meaning "the latest version of the file to be downloaded" for the .travis.yml scripts to use, so they tediously need to be updated to fetch using the new URL for the new version. 3. OK, so now -- how about simply cloning the GitHub repo locally, and using the travis-racket.sh from that (which of course will be the latest version). --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f36f61c..a2969fa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,8 +16,8 @@ env: - RACKET_VERSION=HEAD before_install: -# Note: Important to pipe this to `bash` not to `sh`. -- curl -L https://github.com/greghendershott/travis-racket/releases/download/v0.6/install-racket.sh | bash +- git clone git@github.com:greghendershott/travis-racket.git +- cat travis-racket/install-racket.sh | bash # pipe to bash not sh! install: From e8fd95654eeb5b7bddc4ff20875dc5229bfb9f88 Mon Sep 17 00:00:00 2001 From: Greg Hendershott Date: Fri, 6 Jun 2014 14:52:14 -0400 Subject: [PATCH 2/2] Use https not ssh URL --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a2969fa..070a872 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ env: - RACKET_VERSION=HEAD before_install: -- git clone git@github.com:greghendershott/travis-racket.git +- git clone https://github.com/greghendershott/travis-racket.git - cat travis-racket/install-racket.sh | bash # pipe to bash not sh! install: