Add jshint to Travis CI config.

props jorbin.
fixes #26446.


git-svn-id: https://develop.svn.wordpress.org/trunk@27267 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2014-02-25 17:57:04 +00:00
parent 1e078dd1e4
commit 3abea9370b
2 changed files with 2 additions and 1 deletions

View File

@@ -16,4 +16,4 @@ before_script:
- npm install -g grunt-cli
- npm install
script: grunt test
script: grunt travis

View File

@@ -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']);