www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

.travis.yml (1599B)


      1 sudo: false
      2 language: node_js
      3 node_js:
      4     - "8"
      5 cache:
      6     directories:
      7         - "build"
      8         - "node_modules"
      9 env:
     10     global:
     11         secure: "NxvkbZ7/Op7BTGQRR3C4q8lLoO29f8WtyNN27NSH7AO3H0vBr1Vp5xO8gn+H2qHEug5HvM+YrZ/xAkNXaZVbOInmBmKVMxqVvdpKp9JM1Amf+gzsXWQphfySvs6iqzyP6cwU/jspdvX/WSakgU5v7PWXxtUIaKxdANt6Rw7W+Pc="
     12     matrix:
     13         - FX_VERSION="52.0.3"
     14 matrix:
     15     fast_finish: true
     16     #allow_failures:
     17     #    - env: FX_CHANNEL="beta"
     18 notifications:
     19     email: false
     20 addons:
     21   apt:
     22     packages:
     23     - dbus-x11
     24 install:
     25     - if [ $FX_VERSION = "52.0.3" ]; then
     26         wget -O tarball "https://archive.mozilla.org/pub/firefox/tinderbox-builds/mozilla-release-linux64-add-on-devel/1491732920/firefox-52.0.3.en-US.linux-x86_64-add-on-devel.tar.bz2";
     27       fi
     28     - tar xf tarball
     29 before_script:
     30     - export DISPLAY=:99.0
     31     - sh -e /etc/init.d/xvfb start
     32     - npm i
     33     - npm run build
     34     - if [[ $TRAVIS_REPO_SLUG = "zotero/zotero" &&
     35             ($TRAVIS_BRANCH = "master" || $TRAVIS_BRANCH = *-hotfix) &&
     36             $TRAVIS_PULL_REQUEST = "false" ]]; then
     37         mkdir build-zip;
     38         cd build;
     39         zip -r ../build-zip/$TRAVIS_COMMIT.zip *;
     40         cd ..;
     41         gem install dpl;
     42         dpl --provider=s3
     43             --access-key-id=AKIAJFDVJ54MCAEXPQ5Q
     44             --bucket=zotero-download
     45             --local-dir=build-zip
     46             --upload-dir=ci/client
     47             --acl=public-read
     48             --skip_cleanup=true;
     49       fi
     50     - unset AWS_SECRET_ACCESS_KEY
     51     # Fix warnings in output
     52     - dbus-launch
     53 script:
     54     - test/runtests.sh -x firefox/firefox -f