fixes #81: integrating with Travis CI

This commit is contained in:
Nelson Omuto 2014-10-04 20:16:13 -04:00
parent 9de6322bf1
commit 6c24c30222
3 changed files with 11 additions and 1 deletions

8
.travis.yml Normal file
View File

@ -0,0 +1,8 @@
language: node_js
node_js:
- "0.10"
before_script:
- 'npm install -g grunt-cli'
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script: 'grunt cibuild'

View File

@ -176,4 +176,6 @@ module.exports = function(grunt) {
"watch"
]);
});
grunt.registerTask('cibuild',["newer:jshint", "jasmine:scripts"]);
};

View File

@ -6,4 +6,4 @@ describe('Material', function (){
it('jquery should be loaded', function () {
expect($).toBeDefined();
});
});
});