From 5e2990e3af4b1e827367f5bc39668cda3046c496 Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Tue, 30 Jan 2018 10:53:21 -0800 Subject: [PATCH] Use containers for testing again (#5070) * 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 * flag is "no-sandbox" * Add back npm cache --- .travis.yml | 2 +- wct.conf.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6150392e90..b61ce80174 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ language: node_js -sudo: required +sudo: false dist: trusty node_js: stable addons: diff --git a/wct.conf.json b/wct.conf.json index ded6cc8f44..5b315d7362 100644 --- a/wct.conf.json +++ b/wct.conf.json @@ -8,7 +8,8 @@ "browserOptions": { "chrome": [ "headless", - "disable-gpu" + "disable-gpu", + "no-sandbox" ], "firefox": [ "-headless"