From 3a106329e9eed8c05027596eec90ab41709bea33 Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Sun, 21 Jan 2018 21:39:53 +0100 Subject: [PATCH] testem: Use `--no-sandbox` on TravisCI --- 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) } } };