Skip to content

Commit

Permalink
update travis-ci config for build-tools-25.0.2 (geeeeeeeeek#210)
Browse files Browse the repository at this point in the history
* update travis config

* update sdk

* update jdk version

* fix travis

* Accept license automaticly

* Accept linceses automaticlly
  • Loading branch information
larryxiao625 authored Jan 21, 2017
1 parent 2a1e7f7 commit a14f59e
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
language: android
sudo: false
jdk: oraclejdk7
jdk: oraclejdk8
env:
matrix:
- ANDROID_TARGET=android-21 ANDROID_ABI=armeabi-v7a armeabi
- ANDROID_TARGET=android-25 ANDROID_ABI=armeabi-v7a armeabi
android:
components:
- platform-tools
- build-tools-21.1.2
- android-L
- tools
- build-tools-25.0.2
- android-N
- extra
licenses:
- android-sdk-license-.+
- '.+'
before_install:
- openssl aes-256-cbc -K $encrypted_6b42a8524af0_key -iv $encrypted_6b42a8524af0_iv
-in monkeytong.jks.enc -out monkeytong.jks -d
before_script:
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
- adb wait-for-device
- adb shell input keyevent 82 &
- mkdir "$ANDROID_HOME/licenses" || true
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
- gem install fir-cli
script:
- ./gradlew assembleRelease
Expand Down

0 comments on commit a14f59e

Please sign in to comment.