Permalink
Browse files

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
  • Loading branch information...
mindhog authored and jianglai committed Dec 4, 2018
1 parent e473395 commit 23ce24bafbd0104f6c94ca1739078ca67cfdb810
Showing with 1 addition and 6 deletions.
  1. +1 −6 .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

0 comments on commit 23ce24b

Please sign in to comment.