Skip to content
Permalink
Browse files

Force bender to use headless browsers.

  • Loading branch information...
msamsel authored and mlewand committed Feb 7, 2019
1 parent 0ca5e27 commit 722031b70226de6460a5a71118353852bb1630f1
Showing with 4 additions and 3 deletions.
  1. +0 −3 .travis.yml
  2. +4 −0 bender.ci.js
@@ -16,9 +16,6 @@ addons:
firefox: "latest"
chrome: stable

before_install:
- google-chrome-stable --headless --disable-gpu &

before_script:
# Prepare environment.
- 'npm install benderjs-cli -g'
@@ -5,5 +5,9 @@ var config = require( './bender' );

config.startBrowser = process.env.BROWSER || 'Chrome';
config.isTravis = true;
config.startBrowserOptions = {
Chrome: '--headless --disable-gpu',
Firefox: '-headless'
};

module.exports = config;

0 comments on commit 722031b

Please sign in to comment.
You can’t perform that action at this time.