Update test config for new Firefox download URLs

This commit is contained in:
Dan Stillman 2015-11-19 16:16:53 -05:00
parent 32b7756898
commit 3dab61d581

View file

@ -3,20 +3,18 @@ language: cpp
compiler: compiler:
- gcc - gcc
env: env:
- FX_PATH_SUFFIX="" - FX_CHANNEL=""
- FX_PATH_SUFFIX="-esr" - FX_CHANNEL="-esr"
- FX_PATH_SUFFIX="-beta" - FX_CHANNEL="-beta"
# - FX_PATH_SUFFIX="-prior-esr"
matrix: matrix:
fast_finish: true fast_finish: true
allow_failures: allow_failures:
- env: FX_PATH_SUFFIX="-beta" - env: FX_CHANNEL="-beta"
- env: FX_PATH_SUFFIX="-prior-esr"
notifications: notifications:
email: false email: false
install: install:
- 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'` - wget -O tarball "https://download.mozilla.org/?product=firefox${FX_CHANNEL}-latest&os=linux64&lang=en-US"
- tar -xf firefox-*.tar.* - tar xf tarball
before_script: before_script:
- export DISPLAY=:99.0 - export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start - sh -e /etc/init.d/xvfb start