Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit d5c5e2b

Browse files
committed
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.
1 parent cbb3ce2 commit d5c5e2b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Gruntfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,6 @@ module.exports = function(grunt) {
297297
grunt.registerTask('webserver', ['connect:devserver']);
298298
grunt.registerTask('package', ['bower','clean', 'buildall', 'minall', 'collect-errors', 'docs', 'copy', 'write', 'compress']);
299299
grunt.registerTask('package-without-bower', ['clean', 'buildall', 'minall', 'collect-errors', 'docs', 'copy', 'write', 'compress']);
300-
grunt.registerTask('ci-checks', ['ddescribe-iit', 'merge-conflict', 'jshint', 'test:docgen']);
300+
grunt.registerTask('ci-checks', ['ddescribe-iit', 'merge-conflict', 'jshint']);
301301
grunt.registerTask('default', ['package']);
302302
};

jenkins_build.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,12 @@ rm -f angular.js.size
2828
npm install --color false
2929
grunt ci-checks package --no-color
3030

31+
# DOCS generator unit tests #
32+
grunt test:docgen --no-color
3133

3234
# UNIT TESTS #
3335
grunt test:unit --browsers $BROWSERS --reporters=dots,junit --no-colors --no-color
3436

35-
3637
# END TO END TESTS #
3738
grunt test:e2e --browsers $BROWSERS_E2E --reporters=dots,junit --no-colors --no-color
3839

0 commit comments

Comments
 (0)