2015-10-13 16:40:48 +08:00
|
|
|
#---------------------------------#
|
|
|
|
# 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
|
|
|
|
|
2015-11-19 21:57:12 +08:00
|
|
|
after_build:
|
|
|
|
- ps: .\pack.ps1 -verbose
|
|
|
|
|
|
|
|
# Disable test search, since we don't have any.
|
|
|
|
test: off
|
|
|
|
|
2015-11-18 21:01:57 +08:00
|
|
|
#---------------------------------#
|
|
|
|
# artifacts #
|
|
|
|
#---------------------------------#
|
|
|
|
|
|
|
|
artifacts:
|
|
|
|
- path: build\cmder.zip
|
|
|
|
name: cmderzip
|
|
|
|
|
|
|
|
- path: build\cmder.7z
|
|
|
|
name: cmder7z
|
|
|
|
|
|
|
|
- path: build\cmder_mini.zip
|
|
|
|
name: cmdermini
|
|
|
|
|
2015-10-13 16:40:48 +08:00
|
|
|
#---------------------------------#
|
|
|
|
# notifications #
|
|
|
|
#---------------------------------#
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
# Webhook
|
|
|
|
- provider: Webhook
|
2015-11-18 22:10:26 +08:00
|
|
|
url: https://webhooks.gitter.im/e/d673abb1b2e659dcd625
|
2015-10-13 16:40:48 +08:00
|
|
|
on_build_success: true
|
|
|
|
on_build_failure: true
|
|
|
|
on_build_status_changed: true
|