diff --git a/.travis.yml b/.travis.yml index 742f35ea8b..7fd8c667d9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,4 +16,4 @@ before_script: - npm install -g grunt-cli - npm install -script: grunt test \ No newline at end of file +script: grunt travis diff --git a/Gruntfile.js b/Gruntfile.js index 0f6ffe8b77..b910622655 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -426,6 +426,7 @@ module.exports = function(grunt) { ['build', 'copy:qunit', 'qunit']); grunt.registerTask('test', 'Runs all QUnit and PHPUnit tasks.', ['qunit:compiled', 'phpunit']); + grunt.registerTask('travis', ['jshint', 'test']); // Default task. grunt.registerTask('default', ['build']);