-
Notifications
You must be signed in to change notification settings - Fork 20
/
.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: >-
ELhxMq2ZzFypuVUhE/g/2hFOb2M0uq/pILyDP6ABH8bh3KJkIkbDu6rhfSN7ZqNv+yp3wPERbUWvGGn8O85G22j6b/CRu7I27GxmzwtSMN86X5LaX1eHxWKEWrhNoWDw4tW8w7k5+GXZo+KekbzKlKS/BRBaCS9q7RneAR7/wEc=
- secure: >-
w92p70VyNaErTe2UEjviuLN2f8WgHmzCraLe8g1ToFaOnnF4xrjoCAqoY9+aGqcoRQ4+7ayCNCNEZVVzkPmuEF+Cl+gJNNDgpdhuQ871I1nO05SHYr/53KSBNlUeogbS7TiGm2iM+gSoE+Na/kyfZKzsn15XO3ycfoqYjxon0tY=
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