1
0

.travis.yml 654 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. language: android
  2. jdk: oraclejdk8
  3. notifications:
  4. email: false
  5. sudo: false
  6. android:
  7. components:
  8. - tools
  9. - platform-tools
  10. - build-tools-27.0.3
  11. - android-27
  12. before_cache:
  13. - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
  14. cache:
  15. directories:
  16. - $HOME/.gradle/caches/
  17. - $HOME/.gradle/wrapper/
  18. before_install:
  19. - yes | sdkmanager 'platforms;android-27'
  20. script:
  21. - ./gradlew assembleRelease
  22. before_deploy:
  23. - mv app/build/outputs/apk/app-release.apk app/build/outputs/apk/buff.apk
  24. deploy:
  25. provider: releases
  26. api_key:
  27. secure:
  28. file: app/build/outputs/apk/buff.apk
  29. skip_cleanup: true
  30. on:
  31. tags: true