tools: travis: cleanups, simplify irc template
This commit is contained in:
parent
25b8b60664
commit
a6f7d1ef36
46
.travis.yml
46
.travis.yml
@ -15,28 +15,27 @@ before_install:
|
|||||||
install:
|
install:
|
||||||
- stack --no-terminal setup
|
- stack --no-terminal setup
|
||||||
- stack --no-terminal build --only-snapshot
|
- stack --no-terminal build --only-snapshot
|
||||||
# testing: where are we now ?
|
|
||||||
- pwd
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- stack --no-terminal test
|
- stack --no-terminal test
|
||||||
|
|
||||||
|
# coveralls.io coverage reports
|
||||||
|
# after_script:
|
||||||
|
# - "cabal install hpc-coveralls"
|
||||||
|
# - "hpc-coveralls count-von-count-tests --exclude-dir=tests --exclude-dir=src/Gyrid --display-report"
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
|
|
||||||
# email:
|
|
||||||
# recipients:
|
|
||||||
# - one@example.com
|
|
||||||
# - other@example.com
|
|
||||||
# on_success: [always|never|change] # default: change
|
|
||||||
# on_failure: [always|never|change] # default: always
|
|
||||||
|
|
||||||
irc:
|
irc:
|
||||||
channels:
|
channels:
|
||||||
- "chat.freenode.net#hledger"
|
- "chat.freenode.net#hledger"
|
||||||
on_success: change # [always|never|change] default: always
|
on_success: change # [always|never|change] default: always
|
||||||
on_failure: change # default: always
|
on_failure: change # default: always
|
||||||
use_notice: true
|
use_notice: true
|
||||||
|
#skip_join: true
|
||||||
|
# If you enable skip_join, remember to remove the NO_EXTERNAL_MSGS flag (n) on the IRC channel(s) the bot notifies.
|
||||||
|
template:
|
||||||
|
- "%{commit}: %{message} %{build_url}"
|
||||||
|
# - "%{repository_name} (%{commit}) : %{message} %{build_url}"
|
||||||
# You can interpolate the following variables:
|
# You can interpolate the following variables:
|
||||||
# repository_slug: your GitHub repo identifier (like svenfuchs/minimal)
|
# repository_slug: your GitHub repo identifier (like svenfuchs/minimal)
|
||||||
# repository_name: the slug without the username
|
# repository_name: the slug without the username
|
||||||
@ -54,20 +53,13 @@ notifications:
|
|||||||
# compare_url: commit change view URL
|
# compare_url: commit change view URL
|
||||||
# build_url: URL of the build detail
|
# build_url: URL of the build detail
|
||||||
# The default template is:
|
# The default template is:
|
||||||
# notifications:
|
# - "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
|
||||||
# irc:
|
# - "Change view : %{compare_url}"
|
||||||
# template:
|
# - "Build details : %{build_url}"
|
||||||
# - "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
|
|
||||||
# - "Change view : %{compare_url}"
|
|
||||||
# - "Build details : %{build_url}"
|
|
||||||
template:
|
|
||||||
- "%{repository_name} (%{commit}) : %{message} %{build_url}"
|
|
||||||
|
|
||||||
# If you enable skip_join, remember to remove the NO_EXTERNAL_MSGS flag (n) on the IRC channel(s) the bot notifies.
|
# email: # false
|
||||||
# If you want the bot to send messages to channels protected with a channel key (ie, set with /mode #channel +k password), you can use the channel_key variable:
|
# recipients:
|
||||||
# notifications:
|
# - one@example.com
|
||||||
# irc:
|
# - other@example.com
|
||||||
# channels:
|
# on_success: [always|never|change] # default: change
|
||||||
# - "irc.freenode.org#my-channel"
|
# on_failure: [always|never|change] # default: always
|
||||||
# channel_key: 'password'
|
|
||||||
#skip_join: true
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user