mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -16,4 +16,4 @@ before_script:
|
||||
- npm install -g grunt-cli
|
||||
- npm install
|
||||
|
||||
script: grunt test
|
||||
script: grunt travis
|
||||
|
||||
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user