This repository has been archived by the owner on Sep 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
/
.travis.yml
32 lines (32 loc) · 2.09 KB
/
.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
32
dist: trusty
language: node_js
sudo: 'false'
node_js: '9'
addons:
firefox: latest
chrome: stable
before_script:
- npm install -g polymer-cli
- polymer install --variants
- git checkout package-lock.json
- >-
npm run update-types && git diff --exit-code || (echo -e
'\n\033[31mERROR:\033[0m Typings are stale. Please run "npm run
update-types".' && false)
- >-
npm run format && git diff --exit-code || (echo -e '\n\033[31mERROR:\033[0m
Project is not formatted. Please run "npm run format".' && false)
script:
- xvfb-run polymer test
- >-
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then polymer test -s 'default';
fi
env:
global:
- secure: >-
B0xDV89miqJ4dmIVXIrmyOZrAxBESJddq71dlxH9/xjAtW1y+1cwsOni19z5TvAhXyiiSxTkoVsZjnsbVfCBl2mfk5mKonfqsrlVebgJHmTsMJy+Hfh1WPi522EoxsX3BLnbWutUtCZog+qr+rBCAJ0no7xLxMpQPD9DCMRPis9zhjNoMYMMHj0kOPUpAmTqqh2rysinat7E5yVZ1slrEHcRHDklJES1QWRw31HSxVJ1fWqpRTasG2OcHMZRYTyJeEpDXjtmdKLmF/2H8boXhhmNOsPj1gO7PQHOJhQ3ZBrMV6EVihvB+Czf2ZmPIEviLLexAjkDvE3e76tOZz2TQZXSQqo/Xklxv2UoqnJVB5S2sZMF63BV5MCO+p4z4neTdvIqHxIUOMrEBW8x2UDeBMr5fPJiR63BMxjgytXBZFb9PxZ3wFb9yE+6b7Qos9FDK0zGLc2lIJr5BRsgTdkrC4nO+uX0VRmymwTL8dzhj+zKPz/mEQubunvHYnpszUq5RIdMQ+4oWCeaGc7w3sskspMIsu7stIyYGvKJWO5OVddyZSQwc+U/faoOc1Mz1vFwYCn2tEPvKKjGBLR4ZEW/+WuPKt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