From 97cc6015439709a2882108b05ec86f9cbe067c01 Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Mon, 29 Jan 2018 11:15:02 -0800 Subject: [PATCH 1/3] Use containers for testing again Disable chrome security sandbox due to travis-ci/travis-ci#8836 Remove node module caching with the removal of package lock --- .travis.yml | 5 +---- wct.conf.json | 3 ++- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6150392e90..907edd650c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,10 @@ language: node_js -sudo: required +sudo: false dist: trusty node_js: stable addons: firefox: latest chrome: stable -cache: - directories: - - node_modules before_script: - npm install -g bower gulp-cli@1 - bower install diff --git a/wct.conf.json b/wct.conf.json index ded6cc8f44..fa3b2bcff9 100644 --- a/wct.conf.json +++ b/wct.conf.json @@ -8,7 +8,8 @@ "browserOptions": { "chrome": [ "headless", - "disable-gpu" + "disable-gpu", + "disable-sandbox" ], "firefox": [ "-headless" From 5bfbaac7f5b0cc846448dcb06f6bd43258ba9aa3 Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Mon, 29 Jan 2018 11:29:23 -0800 Subject: [PATCH 2/3] flag is "no-sandbox" --- wct.conf.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wct.conf.json b/wct.conf.json index fa3b2bcff9..5b315d7362 100644 --- a/wct.conf.json +++ b/wct.conf.json @@ -9,7 +9,7 @@ "chrome": [ "headless", "disable-gpu", - "disable-sandbox" + "no-sandbox" ], "firefox": [ "-headless" From 35e5db75252a00aca1bd6039a12c8bef1cbe7fa6 Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Mon, 29 Jan 2018 17:46:23 -0800 Subject: [PATCH 3/3] Add back npm cache --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 907edd650c..b61ce80174 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,9 @@ node_js: stable addons: firefox: latest chrome: stable +cache: + directories: + - node_modules before_script: - npm install -g bower gulp-cli@1 - bower install