Created
May 22, 2017 15:23
-
-
Save nicholaswmin/c946f78785548648d69ddac1b3b5a8bd to your computer and use it in GitHub Desktop.
Travis CI config for testing Polymer Elements
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: node_js | |
sudo: required | |
before_script: | |
# @next might not be needed in the future since polymer-cli should have | |
# been updated | |
- npm install -g bower polymer-cli@next | |
# Chrome 58 has a WebComponent bug | |
- sudo mv /usr/bin/google-chrome /usr/bin/google-chrome-old | |
- sudo mv /usr/bin/google-chrome-beta /usr/bin/google-chrome | |
node_js: stable | |
addons: | |
firefox: latest | |
apt: | |
sources: | |
- google-chrome | |
packages: | |
- google-chrome-beta | |
script: | |
- npm install | |
- bower install | |
- xvfb-run polymer test | |
# Remove following line if you don't want code linting | |
- polymer lint | |
dist: trusty |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment