Last active
December 10, 2021 16:39
-
-
Save rejeep/ebcd57c3af83b049833b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# This script will setup Evm (Emacs Version Manager) and Cask on | |
# Travis to use for Emacs Lisp testing. | |
# | |
# In .travis.yml, add this: | |
# | |
# - curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > x.sh && source ./x.sh | |
# | |
# Emacs 24.3 is installed in the above script because Cask requires | |
# Emacs 24 to be installed. Because of this, when installing other | |
# environments in the .travis.yml configuration, use the --skip | |
# option, for example: | |
# | |
# - evm install $EVM_EMACS --use --skip | |
export PATH="/home/travis/.evm/bin:$PATH" | |
export PATH="/home/travis/.cask/bin:$PATH" | |
git clone https://github.com/rejeep/evm.git /home/travis/.evm | |
evm config path /tmp | |
evm install emacs-24.3-travis --use --skip | |
curl -fsSkL https://raw.github.com/cask/cask/master/go | python |
I got a similar error (Error 503 Backend unavailable, connection timeout
) on a different URL (https://raw.github.com/rejeep/evm/master/go), it seemsraw.github.com
isn't working:
~ $ curl https://raw.github.com/rejeep/evm/master/go
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>503 Backend unavailable, connection timeout</title>
</head>
<body>
<h1>Error 503 Backend unavailable, connection timeout</h1>
<p>Backend unavailable, connection timeout</p>
<h3>Guru Mediation:</h3>
<p>Details: cache-hnd18725-HND 1550613606 165478686</p>
<hr>
<p>Varnish cache server</p>
</body>
</html>
https://status.github.com says "Everything is operating normally.", not sure if github stops supporting raw.github.com
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The last curl statement is timing out.
It seems to work with
curl -fsSkL https://raw.githubusercontent.com/cask/cask/master/go | python
.