-
Notifications
You must be signed in to change notification settings - Fork 21
/
.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: >-
SNZBkUosD/4wwRzRFem5xVvdAhpFtb9lX9E3mkl8T+/w7U78QJZnUSTKzqMt6GqL/ij1tmR1/bGbXp3jjudkMgbrwizJ+K177Tx2rNPfQElnq2c95rAdPAbyuX7YNs+ux4BlU5wLnmydENJ+aTsDzTPjaq0D1MBqesDJTC1Q9ec=
- secure: >-
LaC/qLapiqLOiZJ5qMp1auGkv3ElEk9RCFRoHyNF+SdkM46KTzirPu5sUWdKb9S7GGM+82F3x6teARR8Bup4pjyNF4gUlx3jmhn3vWhpfeNOasVx2zij3Lus3VD9RWhPFaKRWGO/abe70w08MU2zQSBr1A61MlsDdZ0u8eKF8hE=
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