travis: initial add

This commit is contained in:
Alibek Omarov 2019-12-09 04:27:54 +03:00
parent f2c63a4a40
commit 6f82e6d558
1 changed files with 14 additions and 0 deletions

14
.travis.yml Normal file
View File

@ -0,0 +1,14 @@
language: android
dist: xenial
android:
components:
- android-29
- build-tools-29.0.2
before_script:
- mkdir -p $ANDROID_HOME/.android/
- cp debug.keystore $ANDROID_HOME/.android/
after_script:
- apksigner sign --ks debug.keystore --ks-key-alias androiddebugkey --ks-pass "pass:android" --key-pass "pass:android" --in $(find -name "*-blue-release-unsigned.apk") --out husky-release.apk
- wget https://raw.githubusercontent.com/FWGS/uploadtool/master/upload.sh
- chmod +x upload.sh
- ./upload.sh husky-release.apk