1
0
mirror of https://github.com/videojs/video.js.git synced 2025-02-14 12:20:48 +02:00

@misteroneill fixed npm test from running coveralls locally. closes #3449

This commit is contained in:
Pat O'Neill 2016-07-21 13:26:46 -04:00 committed by Gary Katsevman
parent 5b15feb5af
commit b270f58bc8
3 changed files with 4 additions and 2 deletions

View File

@ -29,6 +29,7 @@ CHANGELOG
* @OwenEdwards removed spurious head tags in the simple-embed example ([view](https://github.com/videojs/video.js/pull/3438))
* @ntadej added a null check to errorDisplay usage ([view](https://github.com/videojs/video.js/pull/3440))
* @misteroneill fixed logging issues on IE by separating fn.apply and stringify checks ([view](https://github.com/videojs/video.js/pull/3444))
* @misteroneill fixed npm test from running coveralls locally ([view](https://github.com/videojs/video.js/pull/3449))
--------------------

View File

@ -494,7 +494,8 @@ module.exports = function(grunt) {
// Default task - build and test
grunt.registerTask('default', ['test']);
grunt.registerTask('test', ['build', 'karma:defaults']);
// The test script includes coveralls only when the TRAVIS env var is set.
grunt.registerTask('test', ['build', 'karma:defaults'].concat(process.env.TRAVIS && 'coveralls').filter(Boolean));
// Run while developing
grunt.registerTask('dev', ['build', 'connect:dev', 'concurrent:watchSandbox']);

View File

@ -14,7 +14,7 @@
"homepage": "http://videojs.com",
"author": "Steve Heffernan",
"scripts": {
"test": "grunt test && if [ '$TRAVIS' ]; then grunt coveralls; fi;"
"test": "grunt test"
},
"repository": {
"type": "git",