mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 09:49:12 +08:00
2e582b9db9
We are already in the scripts directory after build. This prevents the ItemNotFoundException seen here: https://ci.appveyor.com/project/MartiUK/cmder/build/1.0.79-development#64
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/f7b9c3ae66741c2e046e
|
|
on_build_success: true
|
|
on_build_failure: true
|
|
on_build_status_changed: true
|