Just retry
retrying all OSes
@@ -22,8 +22,6 @@ import aQute.bnd.gradle.Bundle
// CHANGELOG.md
def jarVersion = "2.11.1"
-def CI = "true" == System.getenv("CI") // travis
-
// TRAVIS_BRANCH equals TRAVIS_TAG when a tag exists / a tag event
def secureEnv = System.getenv("TRAVIS_SECURE_ENV_VARS") != null ? System.getenv("TRAVIS_SECURE_ENV_VARS") : "false"
def branch = System.getenv("TRAVIS_BRANCH") != null ? System.getenv("TRAVIS_BRANCH") : ""
@@ -124,15 +122,9 @@ test {
}
retry {
failOnPassedAfterRetry = false
- if (CI) {
maxFailures = 5
maxRetries = 5
}
- else {
- maxFailures = 1
- maxRetries = 1
- }
- }
maxParallelForks = Runtime.runtime.availableProcessors()
}
