Skip to content

Commit

Permalink
modernize travis
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Jan 21, 2020
1 parent aec4cb6 commit 148b2ea
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
language: node_js
sudo: false
dist: trusty
node_js: '9'
dist: xenial
node_js: '12'
servies:
- xvfb
addons:
firefox: "66.0"
firefox: latest
chrome: stable
cache:
directories:
- 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

0 comments on commit 148b2ea

Please sign in to comment.