-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy path.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
dist: trusty
language: node_js
sudo: 'false'
node_js: node
addons:
firefox: latest
chrome: stable
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)
script:
- xvfb-run polymer test --module-resolution=node --npm
- >-
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then polymer test
--module-resolution=node --npm -s 'default'; fi
env:
global:
- secure: >-
JCnBdRT/TTcvh837MlGUp2QmuC7doU2+2gXbWX1Mj5IL69flJhXVE61vwP+gy+t8EYw41pSNSKxjzt9G5542FB7hqvCDfYrA2E40MvMvzLXZSRqsqKYCKgl4BKDNP7YtRI92oqUQpi4vP3LDkGc+Foyv63fC3N3xgNa9H/d3ADo=
- secure: >-
Iwso7hbLgBF+5bGC7ZNWNQVnEZ0DVNPSnxAEPUiHDBOdnbUWUFvpSaCU5lfQbriYAok+29F6gUKE6IMPLP6tT/J/hWJQoCoa+zWHUPeijgKGevr6qDsvrsQnFnJcWr9g2UhOSi8di2Ys0O2V9EbgUgVy90zJbi+83n1xDp4vYBc=
cache:
directories:
- node_modules