-
Notifications
You must be signed in to change notification settings - Fork 61
/
.travis.yml
27 lines (27 loc) · 981 Bytes
/
.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'
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)
env:
global:
- secure: >-
fGdLW6E9GO7qVK3rhO1Prsq6GyYgFCVlM4OFnpvCucbd/4pB8d+X5j/zsBZWPggAJY+yfgB+5HD4Fnc4Oe9wPCiiDTFJsVAnDQzeQ/jm7njjyfs0lg9GhJXdCP6128XzFD+UUj9pYZLUxlh5JrPIfKgJ1Y7CO9rINUHBr4s+T6I=
- secure: >-
NK4K9VxX+fEWXis4c+XbmtBZsPyM351T3hsm7HKb9LMZFsxzDLjI3KKnQq9Ncjk/lRgx++1TqWxSIzDgW6cUjARQ7/Yt/d8ztq1dCYT21vCWH7nt2ZxrCH/4Gso/Kmxjgn9bWUA4lGulb5i3V37s0icEs9t28+2dTmOMJGrhSr4=
node_js: node
addons:
firefox: latest
chrome: stable
script:
- xvfb-run polymer test --module-resolution=node --npm
- >-
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then polymer test
--module-resolution=node --npm -s 'default'; fi
dist: trusty
cache:
directories:
- node_modules