-
Notifications
You must be signed in to change notification settings - Fork 113
/
.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: >-
Tnh6hBNeOMU+JzJCvB50kyJ5FLXJJ1gLy9unf9Cz9MWnH8duclcZ3k2K0JT0sgb2eP1NiNtUK2bV2KVdCAvpGMj0ExK0hS+p7L0vWb4i16+gyCuf13jVwcZFU6MVEVeZlgfpxcrcXqPE9TX+E3JMliKFRJIAram9r4Ok/i+1kCE=
- secure: >-
QTd3c12RWi0RRsGrtxxSSvc9tgaCUnSmzyW9tSfK+z+06MSeJf8U8evE9IiZCEHB+9flLS5w6+fANnV7FRw1o0r5bQD8moWAMjTw1kZYlfAAf/2XGKR5wY00lyMs5a4BkimgPAU4FsJj2Gqojb7kKHmZ46y2ZKKbOQETsztXuKA=
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