-
Notifications
You must be signed in to change notification settings - Fork 55
/
.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
sudo: 'false'
dist: trusty
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: >-
ePo0qYMYIoL/NaxC1hUPaHdjjNoQKzfHtJeo9GcgBI4dN7IT4N2W6soMdWFWLFD7e9grlUYHVpeo809BIyI4J+b7Iqds+0cqD6aFYOaOMARmLYG3dwZK0GlGxiziiPFPbAPL98T0ruvdLoFD+drtILqS1voMnAwnDhoRyUOIXoTuTWful30Kh8lpc0NaMn+S2mT8oNYXxb8aQo04pFxSV4r0fafaKH2B5LB4nmDpzBfcVnhqFGVMUhaACFo5lB1z39BtcXU7bn1HUTOG0s7QzM/Ugz5qd8QXf8vcFE0MAHc1zdxGwSPT+1+jzfoVhWPkAhBaT7ygh4G0MEBqGz+bdk+pgAaB2TSkhxsZQoI4BPcmCd7hDyFpyCqEz8slmdzS1G7cZKgtAWrXcyGgnmeaMSxjAcNqi/5vv8Z1Ni+A43y8f1S5/V5H/D/2f4C2bih3stoZLsgVQVKlDMsX8eDE3G6HwEEJZQedVlVlN6267y8fkedwpjYSCNduAQmpNR+B1/D35b1squcD0R9/HxQMCI7LmvoW4tmvGcAnF4vDX8BP/kdi6hh3Q31IdCfg0OxuXuccQCCLrL5it06xHbCyEqynPykbxQvborTvF7kuKNbKkCjayRn3sDwSVM5bxAZ3dRJXak8BDdf3Ufbkq1wTdBn0c/xrVm6AB4ng8lW9ukw=
- secure: >-
qxpGCUYz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