From c114f54004262f7e5af4d89f022a1619a9dbfbfa Mon Sep 17 00:00:00 2001 From: Chlodochar Date: Tue, 26 Jul 2016 11:45:19 +0200 Subject: [PATCH] Use `grunt build` for travis, watch by default --- .travis.yml | 2 +- Gruntfile.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d8c6bb5541..48fea6d99d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,5 +10,5 @@ install: - npm install grunt-cli -g - npm install script: - - grunt + - grunt build - nosetests diff --git a/Gruntfile.js b/Gruntfile.js index ad53e9f27b..d35d6ce2f7 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -75,6 +75,7 @@ module.exports = function(grunt) { grunt.loadNpmTasks('grunt-contrib-concat'); grunt.loadNpmTasks('grunt-html-validation'); - grunt.registerTask('default', ['jshint', 'sass', 'cssmin', 'uglify']); + grunt.registerTask('build', ['jshint', 'sass', 'cssmin', 'uglify']); + grunt.registerTask('default', ['build', 'watch']); };