mirror of
https://github.com/google/nomulus.git
synced 2025-07-25 12:08:36 +02:00
Make travis wait up to 30 minutes on build without output.
Also add some comments to .travis.yml.
This commit is contained in:
parent
beae72f6ba
commit
c1d586a211
1 changed files with 11 additions and 1 deletions
12
.travis.yml
12
.travis.yml
|
@ -1,8 +1,10 @@
|
|||
language: java
|
||||
install: true
|
||||
jdk:
|
||||
# Our builds fail against Oracle Java for reasons yet unknown.
|
||||
- openjdk8
|
||||
|
||||
# Caching options suggested by a random article.
|
||||
before_cache:
|
||||
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
||||
- rm -f $HOME/.gradle/caches/*/plugin-resolution/
|
||||
|
@ -13,9 +15,17 @@ cache:
|
|||
- $HOME/.gradle/wrapper/
|
||||
|
||||
env:
|
||||
# Disable fancy status information (looks bad on travis and exceeds logfile
|
||||
# quota)
|
||||
TERM=dumb
|
||||
|
||||
install:
|
||||
# Install a specific gradle version first, default gradle can't deal with
|
||||
# our gradle build scripts.
|
||||
- wget http://services.gradle.org/distributions/gradle-4.10.2-bin.zip && unzip gradle-4.10.2-bin.zip
|
||||
|
||||
script: cd gradle && ../gradle-4.10.2/bin/gradle wrapper && ./gradlew build
|
||||
# Specialize gradle build to use an up-to-date gradle and the /gradle
|
||||
# directory.
|
||||
# The "travis_wait 30" lets our build spend up to 30 minutes without writing
|
||||
# output, instead of the default 10.
|
||||
script: cd gradle && ../gradle-4.10.2/bin/gradle wrapper && travis_wait 30 ./gradlew build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue