From 6b2e18bc2b86ba8094640cb1685fa189e95bf0db Mon Sep 17 00:00:00 2001 From: Ryan LaBouve Date: Mon, 16 Apr 2018 23:36:38 -0500 Subject: [PATCH 1/2] see if Travis fails with no diffs From b64d9feba732335e2051672dbbffb11d2aa91566 Mon Sep 17 00:00:00 2001 From: Ryan LaBouve Date: Mon, 16 Apr 2018 23:50:22 -0500 Subject: [PATCH 2/2] Updates testem config to fix travis ci Related to https://github.com/travis-ci/travis-ci/issues/8836 Fix copied from to https://github.com/ember-cli/ember-cli-chai/pull/45 --- testem.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/testem.js b/testem.js index b3799ce1..63eba84f 100644 --- a/testem.js +++ b/testem.js @@ -1,3 +1,7 @@ +'use strict'; + +/* eslint-env node */ + module.exports = { test_page: 'tests/index.html?hidepassed', disable_watching: true, @@ -11,11 +15,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) } } };