Skip to content
Browse files

Add Travis support

  • Loading branch information...
1 parent 0567054 commit 9846a9d93aec7aa75b363a435306799c31ed4e0e @conradz conradz committed May 22, 2013
Showing with 9 additions and 1 deletion.
  1. +7 −0 .travis.yml
  2. +2 −1 Gruntfile.js
View
7 .travis.yml
@@ -0,0 +1,7 @@
+language: node_js
+node_js:
+ - 0.10
+before_script:
+ - export KARMA_BROWSERS='PhantomJS,Firefox'
+ - export DISPLAY=:99.0
+ - sh -e /etc/init.d/xvfb start
View
3 Gruntfile.js
@@ -58,7 +58,8 @@ module.exports = function(grunt) {
test: {
configFile: 'karma.config.js',
singleRun: true,
- browsers: ['Chrome', 'Firefox']
+ browsers:
+ (process.env.KARMA_BROWSERS || "Chrome,Firefox").split(",")
},
dev: {

0 comments on commit 9846a9d

Please sign in to comment.
Something went wrong with that request. Please try again.