From 5263fa2010b2043956e8ffab9daba0f39dc6ada5 Mon Sep 17 00:00:00 2001 From: Eric Bidelman Date: Mon, 23 May 2016 16:10:44 -0700 Subject: [PATCH] Use latest node on travis beta. Install chrome. --- .travis.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3f0a3b1..8f99011 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,24 @@ +sudo: required +dist: trusty language: node_js node_js: - - "4" - "node" +addons: + # From some tests it seems you can only have one firefox addon. + # Adding two results in the last one defined being the one installed. + firefox: latest + apt: + sources: + - google-chrome + packages: + - google-chrome-stable +before_install: + - sudo apt-get update -qq before_script: + - "export DISPLAY=:99.0" + - "sh -e /etc/init.d/xvfb start" - npm install -g web-component-tester - npm install -g bower - bower install script: - - wct -l chrome . + - wct --skip-plugin sauce --plugin local -l chrome