Skip to content

Commit

Permalink
Merge pull request #5621 from Polymer/update-travis
Browse files Browse the repository at this point in the history
modernize travis
  • Loading branch information
Steve Orvell authored Jan 22, 2020
2 parents aec4cb6 + 61a14c1 commit cb6f6c0
Show file tree
Hide file tree
Showing 4 changed files with 5,385 additions and 2,720 deletions.
12 changes: 7 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
language: node_js
sudo: false
dist: trusty
node_js: '9'
dist: xenial
node_js: '10'
services:
- xvfb
addons:
firefox: "66.0"
firefox: latest
chrome: stable
cache:
directories:
- node_modules
- node_modules
before_script:
- npm install -g gulp-cli@1
- gulp lint-eslint
script:
- node ./node_modules/.bin/polymer test --npm --module-resolution=node -l chrome
- xvfb-run node ./node_modules/.bin/polymer test --npm --module-resolution=node -l firefox
- node ./node_modules/.bin/polymer test --npm --module-resolution=node -l firefox
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then travis_wait 30 ./util/travis-sauce-test.sh; fi
env:
global:
Expand Down
Loading

0 comments on commit cb6f6c0

Please sign in to comment.