Permalink
Browse files

Moved CI configuration to dedicated file.

  • Loading branch information...
1 parent 214af1b commit d767fbc857f3f4e12c1759b067b78a866e179270 @Comandeer Comandeer committed Dec 13, 2016
Showing with 11 additions and 6 deletions.
  1. +1 −1 .travis.yml
  2. +10 −0 bender.ci.js
  3. +0 −5 bender.js
View
@@ -13,4 +13,4 @@ before_script:
- 'sh -e /etc/init.d/xvfb start'
- 'export DISPLAY=:99.0'
- 'npm install benderjs-cli -g'
-script: bender run
+script: bender run -c bender.ci.js
View
@@ -0,0 +1,10 @@
+/* jshint browser: false, node: true */
+
+'use strict';
+var config = require( './bender' );
+
+config.manualBrowsers = [ 'Firefox' ];
+config.startBrowser = 'Chrome';
+config.mathJaxLibPath = 'https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML';
+
+module.exports = config;
View
@@ -19,11 +19,6 @@ var config = {
privateKey: 'tests/_benderjs/ssl/key.pem',
certificate: 'tests/_benderjs/ssl/cert.pem',
- // Configuration for CI.
- manualBrowsers: [ 'Firefox' ],
- startBrowser: 'Chrome',
- mathJaxLibPath: 'https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML',
-
coverage: {
paths: [
'adapters/**/*',

0 comments on commit d767fbc

Please sign in to comment.