Make WordPress Core

Ticket #26446: travis.diff

File travis.diff, 878 bytes (added by jorbin, 11 years ago)
  • .travis.yml

     
    1616    - npm install -g grunt-cli
    1717    - npm install
    1818
    19 script: grunt test
    20  No newline at end of file
     19script: grunt travis
  • Gruntfile.js

     
    381381        grunt.registerTask('qunit:compiled', 'Runs QUnit tests on compiled as well as uncompiled scripts.',
    382382                ['build', 'copy:qunit', 'qunit']);
    383383        grunt.registerTask('test', 'Runs all QUnit and PHPUnit tasks.', ['qunit:compiled', 'phpunit']);
     384        grunt.registerTask('travis', 'Run all automated actions that ensure code happiness', ['jshint', 'test']);
    384385
    385386        // Default task.
    386387        grunt.registerTask('default', ['build']);