From 027631852ed4809c66d580f004c78fe610d0b34f Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 31 Oct 2015 02:52:27 -0400 Subject: [PATCH] Only download latest file in Firefox releases directory in Travis setup --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 84c005e712..829b75c8a5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ matrix: notifications: email: false install: - - wget -r -l1 -np -nd -R "index.html*" "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/latest${FX_PATH_SUFFIX}/linux-x86_64/en-US/?F=0&P=*.tar.*" + - wget `curl -s "http://ftp.mozilla.org/pub/firefox/releases/latest${FX_PATH_SUFFIX}/linux-x86_64/en-US/" | grep .tar. | tail -n 1 | sed -E 's/.+(\/pub\/[^"]+).+/http:\/\/ftp.mozilla.org\1/g'` - tar -xf firefox-*.tar.* before_script: - export DISPLAY=:99.0