From bc11e3ae5e75f759af455184f17b6369d8a7a6e8 Mon Sep 17 00:00:00 2001 From: Robert Jackson Date: Sun, 11 Feb 2018 12:09:27 -0500 Subject: [PATCH] Fix issue with Chrome + Travis & setuid... --- testem.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/testem.js b/testem.js index 63d1edf5..c5f94d5f 100644 --- a/testem.js +++ b/testem.js @@ -12,11 +12,14 @@ module.exports = { Chrome: { mode: 'ci', args: [ + // --no-sandbox is needed when running Chrome inside a container + process.env.TRAVIS ? '--no-sandbox' : null, + '--disable-gpu', '--headless', '--remote-debugging-port=0', '--window-size=1440,900' - ] + ].filter(Boolean) } } };