Cleanup Travis CI configuration
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
parent
8f44923fd2
commit
d63fcd609e
1 changed files with 8 additions and 8 deletions
16
.travis.yml
16
.travis.yml
|
@ -7,26 +7,26 @@ android:
|
||||||
components:
|
components:
|
||||||
- tools
|
- tools
|
||||||
- build-tools-28.0.3
|
- build-tools-28.0.3
|
||||||
- android-28
|
|
||||||
- extra-google-m2repository
|
|
||||||
- extra-android-m2repository
|
- extra-android-m2repository
|
||||||
licenses:
|
licenses:
|
||||||
- ".+"
|
- ".+"
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- mkdir -p "$ANDROID_HOME/licenses/"
|
- yes | sdkmanager "platforms;android-29"
|
||||||
- curl "https://download.msfjarvis.website/.viscerion/sdk-licenses.tar.xz" | tar -C "$ANDROID_HOME/licenses/" --strip-components=1 -xvf -
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- "./gradlew clean build test lintDebug -Dpre-dex=false"
|
- "./gradlew build test lintDebug -Dpre-dex=false"
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
|
before_cache:
|
||||||
|
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
||||||
|
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- "$HOME/.m2"
|
- $HOME/.gradle/caches/
|
||||||
- "$HOME/.gradle"
|
- $HOME/.gradle/wrapper/
|
||||||
- "$ANDROID_HOME"
|
|
||||||
|
|
Loading…
Reference in a new issue