Husky/.travis.yml

23 lines
820 B
YAML
Raw Normal View History

2019-12-09 02:27:54 +01:00
language: android
dist: xenial
android:
components:
- android-29
2019-12-09 02:34:07 +01:00
- build-tools-28.0.3
before_script:
- sed -i "s/blue {}//" app/build.gradle
- sed -i "s/debug {}//" app/build.gradle
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
after_success:
- $ANDROID_HOME/build-tools/28.0.3/apksigner sign --ks debug.keystore --ks-key-alias androiddebugkey --ks-pass "pass:android" --key-pass "pass:android" --in $(find -name "*-green-release-unsigned.apk") --out husky-green-release.apk
2019-12-09 02:27:54 +01:00
- wget https://raw.githubusercontent.com/FWGS/uploadtool/master/upload.sh
- chmod +x upload.sh
- ./upload.sh husky-green-release.apk