Skip to content

Commit 3f2cbf7

Browse files
author
Bruce Eckel
committed
Added "exclude from CI" support
1 parent c4a780b commit 3f2cbf7

File tree

1 file changed

+12
-0
lines changed
  • buildSrc/src/main/groovy/com/mindviewinc/plugins

1 file changed

+12
-0
lines changed

buildSrc/src/main/groovy/com/mindviewinc/plugins/Tags.groovy

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ package com.mindviewinc.plugins
33
class Tags {
44
Boolean hasMainMethod = false
55
Boolean willNotCompile = false
6+
Boolean excludeFromTravisCI = false
7+
Boolean excludeFromAppveyorCI = false
8+
Boolean excludeFromCI = false
69
Boolean throwsException = false
710
Boolean errorOutputExpected = false
811
Boolean validateByHand = false
@@ -34,6 +37,9 @@ class Tags {
3437
args << p
3538
}
3639
willNotCompile = hasTag('WillNotCompile')
40+
excludeFromTravisCI = hasTag('ExcludeFromTravisCI')
41+
excludeFromAppveyorCI = hasTag('ExcludeFromAppveyorCI')
42+
excludeFromCI = hasTag('ExcludeFromCI')
3743
throwsException = hasTag('ThrowsException')
3844
errorOutputExpected = hasTag('ErrorOutputExpected')
3945
validateByHand = hasTag('ValidateByHand')
@@ -69,6 +75,9 @@ class Tags {
6975
}
7076
public boolean hasTags() {
7177
return willNotCompile ||
78+
excludeFromTravisCI ||
79+
excludeFromAppveyorCI ||
80+
excludeFromCI ||
7281
throwsException ||
7382
errorOutputExpected ||
7483
validateByHand ||
@@ -88,6 +97,9 @@ class Tags {
8897
"""
8998
hasMainMethod
9099
willNotCompile
100+
excludeFromTravisCI
101+
excludeFromAppveyorCI
102+
excludeFromCI
91103
throwsException
92104
errorOutputExpected
93105
validateByHand

0 commit comments

Comments
 (0)