Skip to content

Commit

Permalink
Try chromium for TravisCI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gempesaw committed Mar 30, 2015
1 parent 1b4bc9e commit e3b3184
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Expand Up @@ -4,5 +4,8 @@ node_js:
- '0.10'

before_script:
- 'npm install -g bower grunt-cli'
- 'bower install'
- npm install -g bower grunt-cli
- bower install
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
2 changes: 1 addition & 1 deletion Gruntfile.js
Expand Up @@ -407,7 +407,7 @@ module.exports = function (grunt) {
travis: {
configFile: 'karma.conf.js',
singleRun: true,
browsers: ['Chrome']
browsers: ['Chrome_travis_ci']
}
},

Expand Down
7 changes: 7 additions & 0 deletions karma.conf.js
Expand Up @@ -91,6 +91,13 @@ module.exports = function(config) {
// - IE (only Windows)
browsers: ['Chrome'],

customLaunchers: {
Chrome_travis_ci: {
base: 'Chrome',
flags: ['--no-sandbox']
}
},


// Continuous Integration mode
// if true, it capture browsers, run tests and exit
Expand Down

0 comments on commit e3b3184

Please sign in to comment.