-
Notifications
You must be signed in to change notification settings - Fork 41
/
.travis.yml
31 lines (29 loc) · 994 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
28
29
30
31
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: >-
gKXX5rtk4HlKJk96/lyPDw8QfEO9dO1Wo9nTebfssJZu2TAfjGkV5gLyLCAOzr+lPbVM9wANJqphFe9ckypEx1CB+zgmQcyJ/XWULYqJa6LCJ02k9qL/MsGbCutqxIheHlt/aMt4urttMBc5B0eGyp9ZiZvjGedKpc2YFX0ZQqI=
- secure: >-
btGGj1R9dFYEYIwMmbJ4WBW+fEmWwA6ddiG3vaab173nTkj69nhHuVtfk9vSE84DJaqEDqMc9jzZWqTLoFOaTU6Y1h54YofUcgR6X+yaWlH6X6Wqn2e8GMrXc1I4yUVTTqJYfOe1ElB8BwR6NO5nxpopuY21z8sD/u/mKPF1RnA=
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