CI Exclusion

This commit is contained in:
Bruce Eckel 2017-05-12 08:39:02 -06:00
parent bed69283e3
commit a3b792adf9
2 changed files with 7 additions and 2 deletions

View File

@ -2,7 +2,7 @@
// (c)2017 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// !!!! CI Systems have trouble
// {ExcludeFromTravisCI}
import java.util.*;
public class ParallelPrefix3 {

View File

@ -25,7 +25,12 @@ class TaggingPlugin implements Plugin<Project> {
if(debug && tags.hasTags()) println tags
// Exclude java sources that will not compile
if (tags.willNotCompile || (tags.lowLevelAppendix && runningInAppveyor)) {
if (tags.willNotCompile
|| (tags.lowLevelAppendix && runningInAppveyor) // Exclude entire lowlevel appendix
|| (tags.excludeFromAppveyorCI && runningInAppveyor)
|| (tags.excludeFromTravisCI && runningInTravis)
|| (tags.excludeFromCI && runningInCI)
) {
project.sourceSets.main.java.excludes.add(file.name)
} else {
JavaExec javaTask = null