-
Notifications
You must be signed in to change notification settings - Fork 24
/
.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: >-
qg21qegNt9yboWgMVBJ4XQcfj4dWeYJj840nrT1WLrKO/4TdFpc1//eBLHvT5W9fmShlwCCGBzpRz42Zjn6s3P6ZdONiPoUflBwoAs0yOE6mycQ2XslUdie5o5TSUd3+wGBsqvMbVBMayH+SFOqejNJHzyQbHnxaGkLjay3E4/o=
- secure: >-
AkGHsJ0JGgqVBCzgmA/P9wFHikcDQwh8hZ8NmiLjCN4hbuIi7DXREbtG89WAyWxJfhX1zR3RHGLOQqDKHMBseo5pQPMQVafcX45zme5nKB+Pmqou0LeABzZuGIX+x9+gU7a6BVQ4hcfmcwkHiLkjIa9fMju8z9hAzmRS4Wa/3c0=
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