-
Notifications
You must be signed in to change notification settings - Fork 52
/
.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
dist: trusty
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)
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
env:
global:
- secure: >-
A8LhjzJbyBaxyH95WdepQWoFoEo0pYq2B1w6Z6sOdNOo66mMaqMCkpHSXlbfAl2hlXDUS/B52TZUDBjPLh42MO9MXTEDP8XpP9cOMcjFXruSFGeDitvV+SymHfZsP2oCCcpAB9i/CfSiT6VktdEzvBnU6j9prFlkU9IUZGFJrNk=
- secure: >-
bmnA56A7ykGb4Vt6+yWkrLcsfwVDeQeqE2HzjfpZ6Qx6YE0GXOWpHe4Vt+VKmZi/9maghlU+pSqBqGB98nQlVKtLp8ay3fBmhYyaETmPVMwSv650jYgEaxmomBlj0kD633F1VWjoR/Gjtds4yy3f+w5DB3alWllkewD0/OmQ8tY=
cache:
directories:
- node_modules