Make WordPress Core

Changeset 47333 for branches/3.9


Ignore:
Timestamp:
02/20/2020 06:53:28 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Build/Test Tools: Improve Travis CI configuration for better performance on 3.9 branch.

This backports [28799] and [28873].

See #49485.

Location:
branches/3.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.9

  • branches/3.9/Gruntfile.js

    r28081 r47333  
    404404        grunt.registerTask('colors', ['sass:colors', 'autoprefixer:colors']);
    405405
     406        // JSHint task.
     407        grunt.registerTask('jshint:corejs', ['jshint:grunt', 'jshint:tests', 'jshint:themes', 'jshint:core']);
     408
    406409        // Pre-commit task.
    407410        grunt.registerTask('precommit', 'Runs front-end dev/test tasks in preparation for a commit.',
    … …  
    428431
    429432        grunt.registerTask('test', 'Runs all QUnit and PHPUnit tasks.', ['qunit:compiled', 'phpunit']);
    430         grunt.registerTask('travis', ['jshint', 'test']);
     433
     434        // Travis CI tasks.
     435        grunt.registerTask('travis:js', 'Runs Javascript Travis CI tasks.', [ 'jshint:corejs', 'qunit:compiled' ]);
     436        grunt.registerTask('travis:phpunit', 'Runs PHPUnit Travis CI tasks.', 'phpunit');
    431437
    432438        // Patch task.
Note: See TracChangeset for help on using the changeset viewer.