diff options
author | Harsh Shandilya <msfjarvis@gmail.com> | 2019-06-26 13:27:54 +0530 |
---|---|---|
committer | Harsh Shandilya <msfjarvis@gmail.com> | 2019-07-28 12:08:03 +0530 |
commit | d63fcd609e103ca81e68b35e8a205ae0ec9d9e57 (patch) | |
tree | 3ee6c2c7924271d02154b0deb6c278bc7c3212c9 | |
parent | 8f44923fd297c757d1f795ec79fd614e7ccdc6c1 (diff) |
Cleanup Travis CI configuration
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
-rw-r--r-- | .travis.yml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml index e0aea775..b57f7d48 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,26 +7,26 @@ android: components: - tools - build-tools-28.0.3 - - android-28 - - extra-google-m2repository - extra-android-m2repository licenses: - ".+" before_install: - - mkdir -p "$ANDROID_HOME/licenses/" - - curl "https://download.msfjarvis.website/.viscerion/sdk-licenses.tar.xz" | tar -C "$ANDROID_HOME/licenses/" --strip-components=1 -xvf - + - yes | sdkmanager "platforms;android-29" script: - - "./gradlew clean build test lintDebug -Dpre-dex=false" + - "./gradlew build test lintDebug -Dpre-dex=false" notifications: email: false sudo: false +before_cache: + - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock + - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ + cache: directories: - - "$HOME/.m2" - - "$HOME/.gradle" - - "$ANDROID_HOME" + - $HOME/.gradle/caches/ + - $HOME/.gradle/wrapper/ |