mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 17:59:11 +08:00
26e6d80364
For releases.
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
|
|
|
|
#---------------------------------#
|
|
# environment configuration #
|
|
#---------------------------------#
|
|
|
|
# Operating system (build VM template)
|
|
os: Windows Server 2012 R2
|
|
|
|
#---------------------------------#
|
|
# build configuration #
|
|
#---------------------------------#
|
|
|
|
build_script:
|
|
- ps: cd scripts; .\build.ps1 -Compile -verbose
|
|
|
|
after_build:
|
|
- ps: .\pack.ps1 -verbose
|
|
|
|
# Disable test search, since we don't have any.
|
|
test: off
|
|
|
|
#---------------------------------#
|
|
# artifacts #
|
|
#---------------------------------#
|
|
|
|
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
|