Try stabilizing the Travis build with travis_wait

This commit is contained in:
Guillaume Smet 2018-05-10 00:30:34 +02:00
parent 3834c4d149
commit a93d6d9854
1 changed files with 5 additions and 2 deletions

View File

@ -2,7 +2,10 @@ language: java
jdk: jdk:
- oraclejdk8 - oraclejdk8
install:
- ./gradlew assemble
script:
- travis_wait 30 ./gradlew check
before_cache: before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/ - rm -fr $HOME/.gradle/caches/*/plugin-resolution/