forked from zotero/zotero
-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
51 lines (51 loc) · 2.6 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
sudo: false
language: node_js
node_js:
- "8"
cache:
directories:
- "build"
- "node_modules"
env:
global:
- secure: "Y8W9z0JNApKhs/A4EcrILiTgp8RepjF2YrwcE8CBfFG+9ZnYAp1GXrBNHowg8nCnb5PD/r/LksJ8C8JnPSxmucm4T+hhYsEeIMv8CC/Le9K/LzxMII8FrsROZhwHFz3zY0JtDR3UmiJJ4MQIIkc4fsgmkMEbWFAYRdipBb2rJzjeWeuWPRULsV5zPiX7/TGh9crs1JQxP5nh5HK6PNtdCZ3Jz1CM+JRQ9sMLDkHNAiJXupOj5McM2mpHei6YychxkVVxW1fDbjfEKyLwj0oPrpYNFbZKLTtJXalAVahwVIo9Zx2FqNNnce9I8Gb8SiBkju5aas6btjjzq94N3DjLxxgyqKaY1oi/Bjj2l6O3fWNUrhMBI+LZ1TRv1kopzIm/Mdn9+wBikpn6lPiHxXipL/SFal0yvXNGwklXEXTgBE0Y/5tRfsfTysX4TVWOg4XI4FXgD08gx7cwXO7gpqMdckJGzM39vfeL0hdPS8KVi9EiEfXjKKOtV2zJO4zV/mtbV5FOgb5XAs89wyAHfkpBx1HVKAepwy4tPUxxTe6xPoVsIiH4JI3xWeBnreWJMEXiAW7uLACTWmEzmqacLjdINhZHA70CaLXONKFXpb4AUwMxGnKltb3wq2wsSHfZiNnrNYyNH9Q0/DrMUBfPaQcOrGs74WnaOq/50xfyX6m5zmE="
- secure: "BRYP+42L53kKNkz66yt+wiOTFT+mcGMGTRZjXoiW2lUrlwoFlTh7VGgANJfIcTuc3fi39p1aDDA+9qi8GXUVJsjNaaQ7nbeEZKu+wRIfnSiBPBGpbHgfxYWvzaF26rnN6A9HFdX/n4P6qg3HrgWs1TU/o2SpFAWNDQUSGgmHsDXfj6XwL9f22cgFtbBP6vbOFmaoitmmuXvzMs8kPz2W/Kj47xNjJq7m6grkXUCOqWJNlGtdzcT8dPa06F5EzCrjB1sk+tZbyLYYJKCdD74NKTFefPfblktlabJzg4OYY1P4EhwDjxwfK9daqaQhtgV3TqCCl7UfEwpdt6w5pgiTSnd7blpbrZPdnLieoG8CUk0SEKvdlxD1SD9XsutzaHL+L9i3V3uTVK6RH0Sk0RIUTdjvAqzDIbSm8o43P7TbkKwIqyln/XKKZiYTc621+6rj5Pun4q3m/UJRqn6KYeGeobA1l80WnuJpwjjQBbWa2NEmGSjonT6SO2t0YJHTErngQbTDMBfpMoYwEg4JWuAyM/D0L8d8yJZWYa6N1aoDkHN4nTS05jrCNcxTqVioBbDXrWYutbmwUecs2qVYaHI5S9Znf6Nk+gqrbq7MSBp2OMY9QBr/oRnW/Sg5AaNhnHyUIbpWtO07CS/H/mFtPwfn2P8tYDhKtL5Qa8Y/AEJEgyQ="
matrix:
- FX_VERSION="60.8.0esr"
matrix:
fast_finish: true
#allow_failures:
# - env: FX_CHANNEL="beta"
addons:
apt:
packages:
- dbus-x11
services:
- xvfb
install:
- wget -O tarball "https://zotero-download.s3.us-east-1.amazonaws.com/dev/firefox-60.9.0esr-x86_64-modified.tar.gz";
- tar xf tarball
before_script:
- npm i
- npm run build
- if [[ $TRAVIS_REPO_SLUG = "zotero/zotero" &&
($TRAVIS_BRANCH = "master" || $TRAVIS_BRANCH = *-hotfix || $TRAVIS_BRANCH = "fx60") &&
$TRAVIS_PULL_REQUEST = "false" ]]; then
mkdir build-zip;
cd build;
zip -r ../build-zip/$TRAVIS_COMMIT.zip *;
cd ..;
gem install dpl;
dpl --provider=s3
--access-key-id=AKIAJAFHAHA64NF66VKQ
--bucket=jurism-download
--local-dir=build-zip
--upload-dir=ci/client
--acl=public-read
--skip_cleanup=true;
fi
- unset AWS_SECRET_ACCESS_KEY
# Fix warnings in output
- dbus-launch
script:
- test/runtests.sh -x firefox-x86_64/firefox -f