-
Notifications
You must be signed in to change notification settings - Fork 98
/
.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'
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: >-
dl2qLTqBQDe/l4occqGYtMkHsoprPGtvmqMpCzTari4AQ+O5KeGAcKBHIdGMWChKgmNcr+na7iXOtix5+OEbQB0xXZzbyuNgC55yUoF/A9KdaaHd3fQ4gjpS+UImUCMbWP8RvGHD2pwGn3GOGThO+ArLHuozofSKv0CDosAQiP49lQ+kdi88A4zovDfm60RN1SohHukrerKN026RftgnDX44p0X0pZl/Wf+8QG9ToMu/+J3AcqphW/LP/ohpezkglHZU3GbSG7cB6vxbGvt3idiIjnnpMsinDBDUMeqQJe7AKQNYS9si0yyXZvWGOLlNd1pWjkmv/h8hAkQsvnfxMWs+ndxTEA/hbd6OEIQ0jpCEUh7NwMMdpureCaWRS5VpTd1yl0GWwBeWnEvy7/k2vTtCa3+Isvu4TK0B2sUJo5BRfPal1+GHedl+ubhKWD9VMFLE8/d/bzglRPghxvaFyWqbgXEr7gkHt2+hcRLRrWaxgzJqBTJUpl//wrRsKm5Yk+51lHWCcWrjdpbpnV4Vg60mrpGudHH17JSnXNrOPoRMQljT9qWPrDetc9oJJg625EV4VvtXHyBGKMlIL2rp2UKW8PRvDFjpvnvRwlYFONgni0o2vK0IVst+AbDKu90iU2IalRC4PKaE2uypqrzzUJJkHgxZTjbPCItWg/xOzZs=
- secure: >-
kFOE9WM9fvgV5cRJRkemXelXlBbsByu/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