From d5c5e2b5848dcb312390549a92c94c76822a5f4f Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Mon, 16 Dec 2013 13:37:09 -0800 Subject: chore: run docs unit test only once Before we would run them twice on Travis. I don't think it should be part of ci-check task.--- Gruntfile.js | 2 +- jenkins_build.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index a3b4e97b..0127f2c4 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -297,6 +297,6 @@ module.exports = function(grunt) { grunt.registerTask('webserver', ['connect:devserver']); grunt.registerTask('package', ['bower','clean', 'buildall', 'minall', 'collect-errors', 'docs', 'copy', 'write', 'compress']); grunt.registerTask('package-without-bower', ['clean', 'buildall', 'minall', 'collect-errors', 'docs', 'copy', 'write', 'compress']); - grunt.registerTask('ci-checks', ['ddescribe-iit', 'merge-conflict', 'jshint', 'test:docgen']); + grunt.registerTask('ci-checks', ['ddescribe-iit', 'merge-conflict', 'jshint']); grunt.registerTask('default', ['package']); }; diff --git a/jenkins_build.sh b/jenkins_build.sh index 68013721..d4f66c11 100755 --- a/jenkins_build.sh +++ b/jenkins_build.sh @@ -28,11 +28,12 @@ rm -f angular.js.size npm install --color false grunt ci-checks package --no-color +# DOCS generator unit tests # +grunt test:docgen --no-color # UNIT TESTS # grunt test:unit --browsers $BROWSERS --reporters=dots,junit --no-colors --no-color - # END TO END TESTS # grunt test:e2e --browsers $BROWSERS_E2E --reporters=dots,junit --no-colors --no-color -- cgit v1.2.3