mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 09:49:12 +08:00
1ec507c1d0
Should notify gitter of build success and failures.
58 lines
1.2 KiB
YAML
58 lines
1.2 KiB
YAML
#---------------------------------#
|
|
# general configuration #
|
|
#---------------------------------#
|
|
|
|
version: 1.0.{build}-{branch}
|
|
|
|
# branches to build
|
|
branches:
|
|
# blacklist
|
|
except:
|
|
- gh-pages
|
|
|
|
# Do not build on tags
|
|
skip_tags: true
|
|
|
|
#---------------------------------#
|
|
# environment configuration #
|
|
#---------------------------------#
|
|
|
|
# Operating system (build VM template)
|
|
os: Windows Server 2012 R2
|
|
|
|
#---------------------------------#
|
|
# build configuration #
|
|
#---------------------------------#
|
|
|
|
build_script:
|
|
- ps: cd scripts; .\build.ps1 -Compile -verbose
|
|
|
|
#---------------------------------#
|
|
# artifacts #
|
|
#---------------------------------#
|
|
|
|
after_build:
|
|
- ps: .\pack.ps1 -verbose
|
|
|
|
artifacts:
|
|
- path: build\cmder.zip
|
|
name: cmderzip
|
|
|
|
- path: build\cmder.7z
|
|
name: cmder7z
|
|
|
|
- path: build\cmder_mini.zip
|
|
name: cmdermini
|
|
|
|
#---------------------------------#
|
|
# notifications #
|
|
#---------------------------------#
|
|
|
|
notifications:
|
|
# Webhook
|
|
- provider: Webhook
|
|
url: https://webhooks.gitter.im/e/d673abb1b2e659dcd625
|
|
on_build_success: true
|
|
on_build_failure: true
|
|
on_build_status_changed: true
|