mirror of https://github.com/apache/lucene.git
Remove travis support for now.
This commit is contained in:
parent
14db6cb56e
commit
e87228982c
17
.travis.yml
17
.travis.yml
|
@ -1,17 +0,0 @@
|
|||
language: java
|
||||
|
||||
jdk:
|
||||
- openjdk11
|
||||
|
||||
before_cache:
|
||||
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
||||
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.gradle/caches/
|
||||
- $HOME/.gradle/wrapper/
|
||||
|
||||
script:
|
||||
- ./gradlew assemble --scan --stacktrace -Ptravis
|
||||
|
|
@ -21,7 +21,6 @@ apply from: file('gradle/generate-defaults.gradle')
|
|||
|
||||
// CI systems.
|
||||
apply from: file('gradle/ci/buildscan.gradle')
|
||||
apply from: file('gradle/ci/travis.gradle')
|
||||
|
||||
// Set up defaults and configure aspects for certain modules or functionality
|
||||
// (java, tests)
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
// Emit more periodic info for travis builds (otherwise they timeout due to
|
||||
// no input on the console).
|
||||
|
||||
import org.gradle.api.tasks.testing.logging.*
|
||||
|
||||
if (hasProperty("travis")) {
|
||||
allprojects {
|
||||
tasks.withType(Test) { task ->
|
||||
maxParallelForks = 2
|
||||
|
||||
afterSuite { desc, result ->
|
||||
if (desc.className) {
|
||||
def tc = result.testCount
|
||||
def tcs = (tc == 1 ? 'test' : 'tests')
|
||||
|
||||
logger.lifecycle("Completed: ${desc.className} (${tc} ${tcs})")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue