diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 6b134ff..c2b02bf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,9 @@ jdk: android: components: - tools +# - android-21 - platform-tools + - tools - build-tools-26.0.1 - android-26 - extra-android-support @@ -12,7 +14,13 @@ android: - extra-google-m2repository licenses: - ".+" +#before_script: +#- echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a +#- emulator -avd test -no-audio -no-window & +#- android-wait-for-emulator +#- adb shell input keyevent 82 & script: +- chmod +x gradlew - ./gradlew --quiet androidGitVersion - if [[ "$TRAVIS_BRANCH" == "master" ]]; then ./gradlew lintRelease publishRelease; else ./gradlew lintRelease test; fi branches: @@ -25,12 +33,12 @@ notifications: - pitchedapps:G5OB9U1vsDxy9mxt0Nt6gbFu#kau on_success: always on_failure: always -sudo: false cache: directories: - "$HOME/.m2" -before_script: -- chmod +x gradlew + - $HOME/.gradle/caches/ + - $HOME/.gradle/wrapper/ + - $HOME/.android/build-cache before_install: - openssl aes-256-cbc -K $encrypted_12e8842891a3_key -iv $encrypted_12e8842891a3_iv -in files/kau.tar.enc -out kau.tar -d |