Only download latest file in Firefox releases directory in Travis setup
This commit is contained in:
parent
2b8a5ba0b7
commit
027631852e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue