Skip to content
This repository was archived by the owner on Oct 9, 2020. It is now read-only.

Commit b0668ff

Browse files
enable travis release on tags
Signed-off-by: Arnav Gupta <[email protected]>
1 parent fe21d59 commit b0668ff

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

.travis.yml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,10 @@ android:
2626
- extra-google-m2repository
2727
- extra-android-m2repository
2828
- sys-img-armeabi-v7a-$ANDROID_TARGET
29-
# before_script:
30-
# - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
31-
# - emulator -avd test -no-skin -no-audio -no-window &
32-
# - android-wait-for-emulator
33-
# - adb shell input keyevent 82 &
3429
script:
35-
- ./gradlew build jacocoTestReport assembleAndroidTest
36-
- chmod a+x codestyle.sh
37-
- "./codestyle.sh"
30+
- "./gradlew build jacocoTestReport assembleAndroidTest"
31+
- chmod a+x codestyle.sh
32+
- "./codestyle.sh"
3833
notifications:
3934
webhooks:
4035
urls:
@@ -43,4 +38,16 @@ notifications:
4338
on_failure: always
4439
on_start: false
4540
after_success:
46-
- bash <(curl -s https://codecov.io/bash)
41+
- bash <(curl -s https://codecov.io/bash)
42+
deploy:
43+
provider: releases
44+
skip_cleanup: true
45+
api_key:
46+
secure: svIaEqjRgXlBU+oyWoHgxLX0/SO8T05iTlMRvewEUyMQOCiEBvT/phwHMtzEDZL1mcWwZeYnORzNiFdecwok4d/kwxHPFoyegdfVrN8uGFvwvAyiSBo2BKNfn4VZRCGf63ardz/hRmrBf9YeohD50vhXNnkipHmFAmdyvaCuB75/mtAh+t0L4ASEkHUfznkRNbsuWtmKgRKVcgcM+dc8TrA1lkLBiVOmzlbt3qfleQtkMCU1eFK0+HS9mKBglqjAG0V00UPXIp+LnkUciaHLaUaVRA0g4/LrRAxDwjErNLmHCxlBnw0gFrSIOzauOHg9QaOSvlZiEYdVWqGmDSf1eDsIWFXJk4EJ3w/M3bPRH35Ir/X5xwsQYTM5KwemJrIbpY6/DPV+24YrxabLQkkItOfihy4FKYaSjtt4TKkp8JO03J8QRgk8N4rkt95Q2OK59f5NTQAuMtjXXBPu5zeqAlx9P0jQNFMEIhYSPLy0yqZ9r7CXVs3jnfLqWduJzm5MTlTdsXaV4if55u9YlYuZX57GfjYhuINDlwQXvVJuYJH/J/QAt71MiFoDp74Uj/KveQIyOcMmN5uNTHoWHgrZgGUZn1PEv0mGAs+T5178uID1avZK2id3wCNhbgQCvh5XXzHvWP1acS98MwrrdfAZgCS/LJtFTfinmRTu/4snSFU=
47+
file:
48+
- "app/build/outputs/apk/app-fdroid-debug.apk"
49+
- "app/build/outputs/apk/app-googleplay-debug.apk"
50+
on:
51+
tags: true
52+
repo: fossasia/open-event-android
53+
branch: shipping

0 commit comments

Comments
 (0)