Skip to content

Instantly share code, notes, and snippets.

@Taishi-Y
Created September 7, 2017 07:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Taishi-Y/09354a9cb1031ff27841eab467d618b2 to your computer and use it in GitHub Desktop.
Save Taishi-Y/09354a9cb1031ff27841eab467d618b2 to your computer and use it in GitHub Desktop.
Travis settings for Android
language: android
jdk: oraclejdk8
sudo: false
env:
global:
- GRADLE_OPTS="-Xmx512m -XX:MaxPermSize=512m"
- ADB_INSTALL_TIMEOUT=10
- secure: "<SECRET-KEY1>"
- secure: "<SECRET-KEY2>"
install:
- echo y | android update sdk -u -a -t tools
- echo y | android update sdk -u -a -t platform-tools
- echo y | android update sdk -u -a -t build-tools-25.0.3
- echo y | android update sdk -u -a -t android-25
- echo y | android update sdk -u -a -t extra-android-support
- echo y | android update sdk -u -a -t extra-google-m2repository
- echo y | android update sdk -u -a -t extra-android-m2repository
- echo y | android update sdk -u -a -t sys-img-armeabi-v7a-android-19
android:
components:
- tools
- platform-tools
- build-tools-25.0.3
- android-25
- extra-android-support
- extra-android-m2repository
- extra-google-m2repository
- sys-img-armeabi-v7a-android-19
licenses:
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'
- '.+'
script:
- ./gradlew uploadDeployGateDevelopDebug // this is for deploygate
# script:
# - "./gradlew build connectedCheck"
notifications:
slack:
secure: <YOUR_TOKEN>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment