2015-10-31 06:53:32 +00:00
|
|
|
sudo: false
|
2017-06-01 20:02:36 +00:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
2017-11-01 02:17:40 +00:00
|
|
|
- "8"
|
2017-06-01 20:02:36 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
2017-06-21 05:23:10 +00:00
|
|
|
- "build"
|
2017-06-01 20:02:36 +00:00
|
|
|
- "node_modules"
|
2015-05-19 08:07:09 +00:00
|
|
|
env:
|
2017-06-15 14:39:16 +00:00
|
|
|
global:
|
2017-06-15 20:27:30 +00:00
|
|
|
secure: "NxvkbZ7/Op7BTGQRR3C4q8lLoO29f8WtyNN27NSH7AO3H0vBr1Vp5xO8gn+H2qHEug5HvM+YrZ/xAkNXaZVbOInmBmKVMxqVvdpKp9JM1Amf+gzsXWQphfySvs6iqzyP6cwU/jspdvX/WSakgU5v7PWXxtUIaKxdANt6Rw7W+Pc="
|
2017-06-15 14:39:16 +00:00
|
|
|
matrix:
|
2019-08-26 04:48:32 +00:00
|
|
|
- FX_VERSION="60.8.0esr"
|
2015-05-19 08:07:09 +00:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
2016-12-21 12:36:50 +00:00
|
|
|
#allow_failures:
|
|
|
|
# - env: FX_CHANNEL="beta"
|
2015-05-19 08:07:09 +00:00
|
|
|
notifications:
|
|
|
|
email: false
|
2017-08-15 19:39:46 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- dbus-x11
|
2019-08-19 09:18:59 +00:00
|
|
|
services:
|
|
|
|
- xvfb
|
2015-05-19 08:07:09 +00:00
|
|
|
install:
|
2019-10-24 05:59:29 +00:00
|
|
|
- wget -O tarball "https://zotero-download.s3.us-east-1.amazonaws.com/dev/firefox-60.9.0esr-x86_64-modified.tar.gz";
|
2015-11-19 21:16:53 +00:00
|
|
|
- tar xf tarball
|
2015-05-19 08:07:09 +00:00
|
|
|
before_script:
|
2017-06-01 20:08:02 +00:00
|
|
|
- npm i
|
2017-06-20 23:18:46 +00:00
|
|
|
- npm run build
|
2018-02-26 02:54:04 +00:00
|
|
|
- if [[ $TRAVIS_REPO_SLUG = "zotero/zotero" &&
|
2019-08-27 23:46:25 +00:00
|
|
|
($TRAVIS_BRANCH = "master" || $TRAVIS_BRANCH = *-hotfix || $TRAVIS_BRANCH = "fx60") &&
|
2018-01-20 04:46:40 +00:00
|
|
|
$TRAVIS_PULL_REQUEST = "false" ]]; then
|
2017-06-15 14:39:16 +00:00
|
|
|
mkdir build-zip;
|
|
|
|
cd build;
|
|
|
|
zip -r ../build-zip/$TRAVIS_COMMIT.zip *;
|
|
|
|
cd ..;
|
|
|
|
gem install dpl;
|
|
|
|
dpl --provider=s3
|
|
|
|
--access-key-id=AKIAJFDVJ54MCAEXPQ5Q
|
|
|
|
--bucket=zotero-download
|
|
|
|
--local-dir=build-zip
|
|
|
|
--upload-dir=ci/client
|
|
|
|
--acl=public-read
|
|
|
|
--skip_cleanup=true;
|
|
|
|
fi
|
|
|
|
- unset AWS_SECRET_ACCESS_KEY
|
2017-08-15 19:39:46 +00:00
|
|
|
# Fix warnings in output
|
|
|
|
- dbus-launch
|
2015-05-19 08:07:09 +00:00
|
|
|
script:
|
2019-08-26 04:48:32 +00:00
|
|
|
- test/runtests.sh -x firefox-x86_64/firefox -f
|