mirror of
https://github.com/etlegacy/etlegacy-android.git
synced 2025-04-17 22:30:53 +00:00
travis: rename to .travis.yml
Add notifications
This commit is contained in:
parent
3fce2a911f
commit
e44e090779
1 changed files with 26 additions and 0 deletions
|
@ -25,3 +25,29 @@ before_script:
|
|||
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
|
||||
script:
|
||||
- ./gradlew build
|
||||
notifications:
|
||||
irc:
|
||||
template:
|
||||
- "%{repository}#%{build_number} %{commit} %{author}: %{message} %{build_url}"
|
||||
channels:
|
||||
- "irc.freenode.org#etlegacy"
|
||||
on_success: change
|
||||
on_failure: always
|
||||
skip_join: true
|
||||
use_notice: true
|
||||
webhooks:
|
||||
urls:
|
||||
- https://xzy.com/api/webhooks/12345
|
||||
on_success: change
|
||||
on_failure: always
|
||||
on_start: never
|
||||
|
||||
# Discord notification
|
||||
#after_success:
|
||||
# - wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
|
||||
# - chmod +x send.sh
|
||||
# - ./send.sh success $WEBHOOK_URL
|
||||
after_failure:
|
||||
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
|
||||
- chmod +x send.sh
|
||||
- ./send.sh failure $WEBHOOK_URL
|
Loading…
Reference in a new issue