branch: externals/elpa
commit 9efe2071aa860dd80ac3a52de2d9bba8c6fc8985
Author: Tobias Rittweiler <[email protected]>
Commit: Tobias Rittweiler <[email protected]>
Make curl invocation fail more explicitly in .travis.yml
A previous build (Build #926) failed with:
```
$ curl -LO
https://github.com/npostavs/emacs-travis/releases/download/bins/emacs-bin-${EMACS_VERSION}.tar.gz
$ tar -xaf emacs-bin-${EMACS_VERSION}.tar.gz -C /
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
```
---
.travis.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index 1644b59..47db13a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,7 +10,7 @@ env:
- EMACS_VERSION=master
install:
- - curl -LO
https://github.com/npostavs/emacs-travis/releases/download/bins/emacs-bin-${EMACS_VERSION}.tar.gz
+ - curl -fSLO
https://github.com/npostavs/emacs-travis/releases/download/bins/emacs-bin-${EMACS_VERSION}.tar.gz
- tar -xaf emacs-bin-${EMACS_VERSION}.tar.gz -C /
# Configure $PATH: Emacs installed to /tmp/emacs
- export PATH=/tmp/emacs/bin:${PATH}