From 23ce24bafbd0104f6c94ca1739078ca67cfdb810 Mon Sep 17 00:00:00 2001 From: mmuller Date: Tue, 4 Dec 2018 07:50:54 -0800 Subject: [PATCH] Use gradlew in travis build. Now that we're shipping gradlew, use it from travis. This is the prescribed approach in the travis docs. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=223976622 --- .travis.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 394f23414..ecf07dfd0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,13 +33,8 @@ env: # 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 - # Specialize gradle build to use an up-to-date gradle and the /gradle # directory. # The "travis_wait 45" lets our build spend up to 45 minutes without writing # output, instead of the default 10. -script: cd gradle && travis_wait 45 ../gradle-4.10.2/bin/gradle build +script: cd gradle && travis_wait 45 ./gradlew build