mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
karma config for travis
This commit is contained in:
parent
0f6d59e258
commit
992e3968a7
4 changed files with 9 additions and 3 deletions
|
@ -1 +1 @@
|
|||
iojs-2
|
||||
iojs-v2.4
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
language: node_js
|
||||
node_js: '0.12'
|
||||
node_js: 'iojs-v2.4'
|
||||
install: npm install
|
||||
script: npm test
|
||||
sudo: false
|
||||
|
@ -9,6 +9,9 @@ cache:
|
|||
- node_modules
|
||||
before_cache:
|
||||
- rm -rf esvm/*/logs esvm/data_dir
|
||||
before_script:
|
||||
- export DISPLAY=:99.0
|
||||
- sh -e /etc/init.d/xvfb start
|
||||
notifications:
|
||||
email:
|
||||
- rashid.khan@elastic.co
|
||||
|
|
|
@ -13,6 +13,7 @@ module.exports = function (grunt) {
|
|||
testUtilsDir: __dirname + '/src/testUtils',
|
||||
configFile: __dirname + '/src/config/kibana.yml',
|
||||
|
||||
karmaBrowser: process.env.TRAVIS ? 'Firefox' : 'Chrome',
|
||||
nodeVersion: '0.10.35',
|
||||
platforms: ['darwin-x64', 'linux-x64', 'linux-x86', 'windows'],
|
||||
services: [ [ 'launchd', '10.9'], [ 'upstart', '1.5'], [ 'systemd', 'default'], [ 'sysv', 'lsb-3.1' ] ],
|
||||
|
|
|
@ -3,7 +3,9 @@ module.exports = function (grunt) {
|
|||
unit: {
|
||||
configFile: 'karma.conf.js',
|
||||
singleRun: true,
|
||||
browsers: ['Chrome']
|
||||
browsers: [
|
||||
'<%= karmaBrowser %>'
|
||||
]
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue