This repository has been archived by the owner on Dec 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 66
/
.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: >-
o4ooQJ7bEkJ/8YJ7uafxcMWlysURDm/0xCKxDgmWTiu192Ld5ai+28fi8GG8vZSSavAVcXap5GVFHvhseTRj3Z5sirbkesqotYK+sMse7bWaRgJYFYYVaRPZ08msXXuaiQf2rUYx3TysS6TNAgsugcE25c8mTja4u7XyPvsIyoo05xzJFluCKumKEOhZXwd1Fwmb75ZBWN2YLZrZgkhzZaX3TkvIjTxPtJH9zhXLU8m+Jbi1ZxDw9lT7TUM6VymTQxcz/v0aMzQSc4vRN3oR/XZH9WZbZvcKR/VTV3th2xMBbQK+Ov08i2AZw71E9NIX2lZj1/VIvrIC21yi98Y+lWbm5sJUC/XsKIp7zrzKyV029O+YuA5YVjeyoNCPiK0YHknKfhsweJSB6ppxdANwS+vFXx0fAk6rg2kI4Ih6oRqUJavD4aiknOmJfCRiZKbqGlFcHjY80AEelGnBqDIkWZYsGoiAU0xQHIiXUKnr2MMQFSE+plKULXZkN3VOKOqi8H47ojwfbyEqAsraH5inM1S+m4OyAgC++BLabYJYLfPOiIjyKS9DrdDSet11rpY/dsGyW5hl8hECfBTC/uu+rnqgUEJUe1KLYqEAfMkoXugDwtZSzJfyVpBqxtAKmkoEsE1bLdX2qr1PAxbpf3d3X6aRPyNnX77KeNqUY2xUBL4=
- secure: >-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