forked from PolymerElements/paper-spinner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (29 loc) · 994 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
28
29
30
31
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: >-
ERuayCXXP9nLkfaBAIfC4xyJ01rfEXega2dwgRJIh4LYYmu5NUwKVzdRfglSiigHB4N/VbaFEH8sJFo0XYOOD5/PDk1UGEKc4Y5xkmX8GWdhLhFqIY971vmpU8m8Yxwac/555vxc/PB2UYw2O38N5pO+Udy3jOk+hYAESAsmpVo=
- secure: >-
FygDwTme+D9Y2E3WL0qBj6U27wsbawuQnk12IOSanMxB70RZp5aszAk6nTFhOapjgbiSEMW5R2BrGuF1GfEtZyU4hPUQWFoSNpX9JyrZDjrp8+b3VSgULQlNsgEzWTEZcdWKYbIxsbAQAfHA8TkCzjT0e0c9sf8BNSUYMJUj94E=
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