-
Notifications
You must be signed in to change notification settings - Fork 45
/
.travis.yml
27 lines (27 loc) · 1.96 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
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: >-
knaOp/2i7IH9eTwkX2rYl8ZTNEaXpz88zSGvxqDdwiKh2SJoO9Altabt/jpzHlqayyn3a0+90t4JKAICv0UtCBJF9GXL0SlyNYUUnU5cd7qifm53KI9xCe2bfkuz3X1npaBJOBu1yg8HZEZ5BYGEKwOW+BmK7jLIsRN9UTDwdMtvcyii4ACSXLSFzPjJo0HAXnoVksAIQwpNPTDsgRkgskUtV3ITSfKsGIIt7wiqFchIKHQcrx7JeQUL5d9wIEVq97dHzrJT7TQ2MFcfET2yFqzMyaDCVgHpzH8+MeIc4japvsKlsE9ixoL40zODki5TtiY1UaNf99H/48qmK+tTHaAHURnZLH6rmOMIn8PBJBR+bIuIa2bDoCE/j8seHIP7oZeEWADvXJkOiUOeq544bL2Kt0OkkSxQyXvEFtdVneI3eF6nycT8W49q33OsL32ayxq9Z9ZpZCvQN7Zixx+AHpLzpDT5JxZ/0bW8bC7vWIrQ5dbi6WDCgDWj8gCmrOSve7q1zX7a8vhThIjcODg/90dyHaqXqs+DvoN4ryhjZ5aZoRThJpwBPudSHkyuUU8euQ2joqpq9AlGA7fMy5znsWGbKTpogW+9Zj2bmITdQAv5lmFTYowkgCgtun5shNjCozG8YDmNqh9BP+p9rcCcuRx8SGWjPT+TKbGQg/1ZehQ=
- secure: >-
iMmkVELvB4htwJ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