Skip to content

Commit

Permalink
fix grunt for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Aug 4, 2015
1 parent 3ce6c3a commit f55d806
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ module.exports = function(grunt) {
open: 'http://localhost:9000/demo/dev.html',
livereload: 9001
}
},
serve: {
options: {
port: 9000
}
}
},
watch: {
Expand Down Expand Up @@ -134,10 +139,11 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-shell');

grunt.registerTask('default', ['test', 'build']);
grunt.registerTask('test', ['jshint', 'testDemo']);
grunt.registerTask('test', ['jshint', 'test:demo']);
grunt.registerTask('test:all', ['build:dev', 'connect:serve', 'test']);
grunt.registerTask('dev', ['build:dev', 'connect:watch', 'watch']);

grunt.registerTask('testDemo', function() {
grunt.registerTask('test:demo', function() {
var updateAll = grunt.option('updateAll'),
diff = grunt.option('diff');

Expand Down

0 comments on commit f55d806

Please sign in to comment.