]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Add coveralls testing to travis build
authorKunal Marwaha <marwahaha@berkeley.edu>
Sat, 18 Mar 2017 19:56:47 +0000 (15:56 -0400)
committerIskren Chernev <iskren.chernev@gmail.com>
Sun, 6 Aug 2017 23:20:17 +0000 (02:20 +0300)
Gruntfile.js

index 9f2f12eeb44d80278222b118abcdda9b4329b2d1..0225972a30faca842f079d75786646ebd44e2784 100644 (file)
@@ -171,6 +171,9 @@ module.exports = function (grunt) {
             },
             'typescript-test': {
                 command: 'npm run typescript-test'
+            },
+            'coveralls': {
+                command: 'npm run coveralls'
             }
         }
 
@@ -199,7 +202,7 @@ module.exports = function (grunt) {
     grunt.registerTask('test:meteor', ['exec:meteor-init', 'exec:meteor-test', 'exec:meteor-cleanup']);
 
     // travis build task
-    grunt.registerTask('build:travis', ['default']);
+    grunt.registerTask('build:travis', ['default', 'exec:coveralls']);
     grunt.registerTask('meteor-publish', ['exec:meteor-init', 'exec:meteor-publish', 'exec:meteor-cleanup']);
 
     // Task to be run when releasing a new version