diff --git a/.travis.yml b/.travis.yml index 460f200..d15c489 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,13 @@ language: node_js node_js: + - "0.10" - "0.12" - "4.0" before_script: + - export CHROME_BIN=chromium-browser - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start email: on_failure: change on_success: never + diff --git a/karma.conf.js b/karma.conf.js index 608cdec..e352ded 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -64,7 +64,14 @@ module.exports = function(config) { autoWatch: false, - browsers: ['PhantomJS', 'Firefox', 'Chrome'], + browsers: ['PhantomJS', 'Firefox', process.env.TRAVIS ? 'Chrome_travis_ci' : 'Chrome'], + + customLaunchers: { + Chrome_travis_ci: { + base: 'Chrome', + flags: ['--no-sandbox'] + } + }, singleRun: false,