Created
February 20, 2019 15:21
-
-
Save oscarg798/b3fd52a61a07f968a6473e6a648d4029 to your computer and use it in GitHub Desktop.
Travis Android unit tests config file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: android | |
jdk: oraclejdk8 | |
branches: | |
only: | |
- develop #or the branch you want to observe | |
notifications: | |
slack: #your_slack_id | |
android: | |
components: | |
- tools | |
- platform-tools | |
- build-tools-28.0.3 | |
- android-28 | |
licenses: | |
- 'android-sdk-preview-license-52d11cd2' | |
- 'android-sdk-license-.+' | |
- 'google-gdk-license-.+' | |
before_cache: | |
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock | |
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/ | |
cache: | |
directories: | |
- $HOME/.gradle/caches/ | |
- $HOME/.gradle/wrapper/ | |
- $HOME/.android/build-cache | |
script: | |
#I have diferent modules so I run the tests on those | |
- ./gradlew data:clean data:testDebugUnitTest --stacktrace | |
- ./gradlew domain:clean domain:testDebugUnitTest --stacktrace |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment