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.
This commit is contained in:
Felix Klauke 2019-10-16 18:07:07 +02:00 committed by Dan Mulloy
parent b5cff49358
commit 4c43f125f9
1 changed files with 4 additions and 2 deletions

View File

@ -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
on_failure: always