Skip to content

Commit a3b792a

Browse files
committed
CI Exclusion
1 parent bed6928 commit a3b792a

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

arrays/ParallelPrefix3.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// (c)2017 MindView LLC: see Copyright.txt
33
// We make no guarantees that this code is fit for any purpose.
44
// Visit http://OnJava8.com for more book information.
5-
// !!!! CI Systems have trouble
5+
// {ExcludeFromTravisCI}
66
import java.util.*;
77

88
public class ParallelPrefix3 {

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@ class TaggingPlugin implements Plugin<Project> {
2525
if(debug && tags.hasTags()) println tags
2626

2727
// Exclude java sources that will not compile
28-
if (tags.willNotCompile || (tags.lowLevelAppendix && runningInAppveyor)) {
28+
if (tags.willNotCompile
29+
|| (tags.lowLevelAppendix && runningInAppveyor) // Exclude entire lowlevel appendix
30+
|| (tags.excludeFromAppveyorCI && runningInAppveyor)
31+
|| (tags.excludeFromTravisCI && runningInTravis)
32+
|| (tags.excludeFromCI && runningInCI)
33+
) {
2934
project.sourceSets.main.java.excludes.add(file.name)
3035
} else {
3136
JavaExec javaTask = null

0 commit comments

Comments
 (0)