-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path.travis.yml
27 lines (27 loc) · 1.96 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
language: node_js
node_js: node
addons:
firefox: latest
chrome: stable
before_script:
- npm install -g polymer-cli
- git checkout package-lock.json
- >-
npm run format && git diff --exit-code || (echo -e '\n\033[31mERROR:\033[0m
Project is not formatted. Please run "npm run format".' && false)
script:
- xvfb-run polymer test --module-resolution=node --npm
- >-
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then polymer test
--module-resolution=node --npm -s 'default'; fi
env:
global:
- secure: >-
PhiGXVsHzKwcY5KiQ8iGmAX+LTPLP36CaplUCDRe+ufOsXrv1OHbTaxD0QvhATGjU4rBIS335DJRTm0ZJX8ejwLFeDSOV/qz0+7+/ic6S2A3DlGz3ggnhKBEUsncol+xJY6ReNU54jv1O3YT8iywD5mHXZksBdvFmtjC/sX4S3zxnVUTERPdJChdy5H01jE6/92DUVNnWoKaN0PUgzwWS3cx/snBAyLQ1Sx1VGdIYGcmL+GCeRX+SWoj66cujeTS3Jov6C0s7gPYenE+CUzQcCtczjlwqzWXzbqy76ZABMNohDTPJmVjbIgP4185dxnUbLUWgnRMqHnI5rxTrGu/04h7ZqVgpTE+8z4miwrT+6hIZjI7X3wd1EwRSR1BMV15CLwL7gh0MkCiyQD7nWU3VARTMoytd33CvFp+PyfG8bG/6Mbl7jN14bDJ1kq/fUmCKvAMvqelpZKU6bCWwwVW8LVJDyZjhoU7lGhD2ErlpLinwu7OzolyUGqenzQCex+iKbcYKKmXIAbiTbNF+T9BA4ni6EzV6ZIBTnwjjY/VF0VWLrELhicvnnPEbVB9713AweBpCIEzyvAKapjFwcJTgRDS+vY2mO1dn/KV97MInkfgILmwQEXPgDWHbK9avA2Ftxuq/pRkkRxIBHodeEh4F3HpxXtugwRYMYsH5XFWehw=
- secure: >-
lsA+thgJAYaxjUsBTu9Rnm94Rbjz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