Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ language: node_js
node_js:
- "node"
- "6"


before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
cache:
directories:
- node_modules
Expand Down
21 changes: 11 additions & 10 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ module.exports = function (config) {
'karma-mocha',
'karma-chai',
'karma-jquery',
'karma-phantomjs-launcher',
'karma-chrome-launcher',
'karma-firefox-launcher',
'karma-html2js-preprocessor',
'karma-sinon',
'karma-fixture',
Expand All @@ -25,17 +26,17 @@ module.exports = function (config) {

preprocessors: {
'**/*.html': ['html2js'],
'**/*.json' : ['json_fixtures']
'**/*.json': ['json_fixtures']
},

files: [
'./node_modules/handlebars/dist/handlebars.min.js',
'./index.html',
'./unbxdSearch.js',
'./app.js',
'mock/*.json',
'test/navigation/*.spec.js',
'test/search/*.spec.js',
'./node_modules/handlebars/dist/handlebars.min.js',
'./index.html',
'./unbxdSearch.js',
'./app.js',
'mock/*.json',
'test/navigation/*.spec.js',
'test/search/*.spec.js',
],

reporters: ['spec'],
Expand All @@ -47,6 +48,6 @@ module.exports = function (config) {
// level of logging
logLevel: config.LOG_INFO,

browsers: ['PhantomJS']
browsers: ['Chrome', 'ChromeHeadless', 'Firefox']
});
};
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,18 @@
"jquery-ui": "1.12.0",
"karma": "^1.3.0",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.2.0",
"karma-firefox-launcher": "^1.0.1",
"karma-fixture": "^0.2.6",
"karma-handlebars-preprocessor": "^0.3.0",
"karma-html2js-preprocessor": "^1.0.0",
"karma-jquery": "^0.1.0",
"karma-json-fixtures-preprocessor": "0.0.6",
"karma-mocha": "^0.1.10",
"karma-phantomjs-launcher": "^1.0.2",
"karma-sinon": "^1.0.5",
"karma-spec-reporter": "0.0.26",
"karma-verbose-reporter": "0.0.3",
"mocha": "^3.2.0",
"phantom": "^2.1.7",
"sinon": "^1.17.7"
}
}
Loading