zotero/.travis.yml

31 lines
937 B
YAML
Raw Normal View History

sudo: false
2015-05-19 04:07:09 -04:00
language: cpp
compiler:
- gcc
env:
- FX_CHANNEL="release"
2016-11-22 20:55:27 -05:00
#- FX_CHANNEL="esr"
#- FX_CHANNEL="beta"
2015-05-19 04:07:09 -04:00
matrix:
fast_finish: true
allow_failures:
2016-08-09 01:54:17 -04:00
- env: FX_CHANNEL="beta"
2015-05-19 04:07:09 -04:00
notifications:
email: false
install:
# Use unbranded builds for 'release' and 'beta'
2016-08-08 02:57:45 -04:00
- if [ $FX_CHANNEL != "esr" ]; then
URL="`curl -s https://wiki.mozilla.org/Addons/Extension_Signing | sed -n -r \"s/.+https?(:\/\/archive.mozilla.org[^ ]+\/mozilla-${FX_CHANNEL}-linux64-add-on-devel\/[0-9]+\/.+.bz2).+/https\1/p\"`";
wget -O tarball "$URL";
2016-08-08 02:57:45 -04:00
fi
# Use official build for 'esr'
2016-08-08 02:57:45 -04:00
- if [ $FX_CHANNEL == "esr" ]; then
2016-08-08 03:01:22 -04:00
wget -O tarball "https://download.mozilla.org/?product=firefox-${FX_CHANNEL}-latest&os=linux64&lang=en-US";
2016-08-08 02:57:45 -04:00
fi
- tar xf tarball
2015-05-19 04:07:09 -04:00
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script:
- test/runtests.sh -x firefox/firefox