2015-10-31 06:53:32 +00:00
|
|
|
sudo: false
|
2015-03-07 17:18:27 +00:00
|
|
|
language: cpp
|
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
env:
|
2016-08-08 06:48:22 +00:00
|
|
|
- FX_CHANNEL="release"
|
|
|
|
- FX_CHANNEL="beta"
|
|
|
|
- FX_CHANNEL="esr"
|
2015-03-31 04:09:14 +00:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
allow_failures:
|
2015-11-19 21:16:53 +00:00
|
|
|
- env: FX_CHANNEL="-beta"
|
2015-03-07 17:18:27 +00:00
|
|
|
notifications:
|
|
|
|
email: false
|
2015-03-31 04:09:14 +00:00
|
|
|
install:
|
2016-08-08 06:48:22 +00:00
|
|
|
# Use unbranded builds for 'release' and 'beta'
|
2016-08-08 06:57:45 +00:00
|
|
|
- if [ $FX_CHANNEL != "esr" ]; then
|
|
|
|
TS="`curl -s https://archive.mozilla.org/pub/firefox/tinderbox-builds/mozilla-${FX_CHANNEL}-linux64-add-on-devel/ | grep mozilla-$FX_CHANNEL | tail -n 1 | sed -r 's/.+add-on-devel\/([0-9]+).+/\1/'`";
|
|
|
|
FN="`curl -s https://archive.mozilla.org/pub/firefox/tinderbox-builds/mozilla-${FX_CHANNEL}-linux64-add-on-devel/$TS/ | grep add-on-devel.tar.bz2 | head -n 1 | sed -r 's/.+>(firefox-[^<]+).+/\1/g'`";
|
|
|
|
wget -O tarball "https://archive.mozilla.org/pub/firefox/tinderbox-builds/mozilla-${FX_CHANNEL}-linux64-add-on-devel/$TS/$FN";
|
|
|
|
fi
|
2016-08-08 06:48:22 +00:00
|
|
|
# Use official build for 'esr'
|
2016-08-08 06:57:45 +00:00
|
|
|
- if [ $FX_CHANNEL == "esr" ]; then
|
2016-08-08 07:01:22 +00:00
|
|
|
wget -O tarball "https://download.mozilla.org/?product=firefox-${FX_CHANNEL}-latest&os=linux64&lang=en-US";
|
2016-08-08 06:57:45 +00:00
|
|
|
fi
|
2015-11-19 21:16:53 +00:00
|
|
|
- tar xf tarball
|
2015-03-31 04:09:14 +00:00
|
|
|
before_script:
|
2015-03-07 17:18:27 +00:00
|
|
|
- export DISPLAY=:99.0
|
|
|
|
- sh -e /etc/init.d/xvfb start
|
|
|
|
script:
|
|
|
|
- test/runtests.sh -x firefox/firefox
|