From 4c43f125f9f360db980bf26d51ffce7353bbb373 Mon Sep 17 00:00:00 2001 From: Felix Klauke Date: Wed, 16 Oct 2019 18:07:07 +0200 Subject: [PATCH] Use gradle wrapper instead of travis ci's inbuilt gradle version. (#706) At the moment travis will always use its pre installed gradle version what leads to unpredictable build behaviour as the version can change at any time. As this project has already defined a gradle wrapper the CI should use it. --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2ff6003a..cf340e29 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,13 @@ language: java jdk: - openjdk8 -script: gradle clean compileJava compileTestJava test +script: + - chmod +x ./gradlew + - ./gradlew clean compileJava compileTestJava test install: true notifications: email: recipients: - "dmulloy2@live.com" on_success: change - on_failure: always \ No newline at end of file + on_failure: always