-
Notifications
You must be signed in to change notification settings - Fork 17
/
.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: >-
c1ZdpqgX+YgSJPuxZ3zI3uHmvGiKBvisQwfvQKFzHhKIjgXgU3nAJCNTqRVJS4ud+2mL/4mzDY2TSUmjFzRL1S83MMKjNYiVV9yUO6Qu3z4rZwFVqPnFXPEo4cyRi5LYcYdGvXZAVAbQUP82iyltlZ5V5hkMC6R98eA/wH/OQ8Y=
- secure: >-
dYC6OX4Pghsrvlj43uq8GTf1FmDTmdorx1byFKCLcUHv5RjshY9qPJY8IeyDEEqaLBE6W+6jZfRwQ6sesClnzhudrTaxrwVijZ+ykghskI/8M9j7XwX5gMkGCoAHvcPLeTbUNXiBSoWzZpNGDEhecYTGNZN4z+JI0tGv2yBPlUI=
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