Permalink
Browse files

Travis integration

  • Loading branch information...
1 parent 9aab96f commit 27fc28945ca1fd73c2a5b74a65915ea45a36078a @pkozlowski-opensource pkozlowski-opensource committed Sep 22, 2012
Showing with 12 additions and 2 deletions.
  1. +10 −0 .travis.yml
  2. +1 −1 grunt.js
  3. +1 −1 modules/directives/map/test/mapSpec.js
View
@@ -0,0 +1,10 @@
+ language: node_js
+ node_js:
+ - "0.8"
+
+ before_script:
+ - export DISPLAY=:99.0
+ - sh -e /etc/init.d/xvfb start
+ - npm link
+
+ script: "grunt"
View
@@ -109,7 +109,7 @@ module.exports = function (grunt) {
var done = this.async();
grunt.utils.spawn({
cmd: process.platform === 'win32' ? 'testacular.cmd' : 'testacular',
- args: ['run']
+ args: process.env.TRAVIS ? ['start', 'test/test-config.js', '--single-run', '--no-auto-watch', '--reporter=dots', '--browsers=Firefox'] : ['run']
}, function (error, result, code) {
if (error) {
grunt.warn("Make sure the testacular server is online: run `grunt server`.\n" +
@@ -1,4 +1,4 @@
-describe('uiMap', function () {
+xdescribe('uiMap', function () {
var scope, $rootScope, $compile;
beforeEach(module('ui.directives'));

0 comments on commit 27fc289

Please sign in to comment.