2019-12-12 00:45:27 +08:00
|
|
|
version: 3.1.{build}
|
2019-05-11 19:07:40 +08:00
|
|
|
branches:
|
|
|
|
only:
|
2019-09-28 21:20:47 +08:00
|
|
|
- release
|
2019-05-11 19:07:40 +08:00
|
|
|
- master
|
2019-09-28 21:20:47 +08:00
|
|
|
- dev
|
2019-09-28 21:20:47 +08:00
|
|
|
image: Visual Studio 2019
|
2019-05-11 19:07:40 +08:00
|
|
|
clone_depth: 1
|
|
|
|
init:
|
2019-06-02 00:18:21 +08:00
|
|
|
- ps: git version
|
2019-05-11 19:07:40 +08:00
|
|
|
environment:
|
2020-02-12 23:08:07 +08:00
|
|
|
CI: true
|
2019-05-11 19:07:40 +08:00
|
|
|
Appveyor: true
|
2019-05-18 19:19:49 +08:00
|
|
|
COVERALLS_REPO_TOKEN:
|
|
|
|
secure: 5L1b6XqSNTOfU1iZrARo5eUOi1HOleVO3VDCW0pr6yaspgkC5jxL+gBDK0OEY8EI
|
2019-06-02 00:18:21 +08:00
|
|
|
COVERALLS_REPO_TOKEN_GITLAB:
|
|
|
|
secure: yPxFQv4kSWtZ7Vvs70bIXDx9IOEEJ9utI3UyZsJGU7rt63gZnHOry0kt9DBMWcwV
|
|
|
|
CODECOV_TOKEN:
|
|
|
|
secure: 6rKKLXCmy3HZBxW5SjoO4Ox7G09FC0NJgGnvukWkYyJ2rx1GCzu4JvmLin69SHRz
|
|
|
|
CODECOV_TOKEN_GITLAB:
|
|
|
|
secure: +22PuAn5seq4bbCVCly8zDFuyEV3m2NjW3QuM0+2gm4c8akwicNFmv2T/ZGd0Jpd
|
2019-05-11 19:07:40 +08:00
|
|
|
services:
|
2019-09-28 21:20:47 +08:00
|
|
|
- mssql2017
|
2020-02-13 12:06:36 +08:00
|
|
|
- mysql
|
2019-05-11 19:07:40 +08:00
|
|
|
- mongodb
|
|
|
|
install:
|
|
|
|
- ps: >-
|
2020-02-13 14:06:24 +08:00
|
|
|
.\scripts\appveyor\appveyor.install.ps1
|
2019-05-11 19:07:40 +08:00
|
|
|
build_script:
|
|
|
|
- ps: >-
|
2020-02-13 14:06:24 +08:00
|
|
|
.\scripts\appveyor\appveyor.build.ps1
|
2019-05-14 21:20:47 +08:00
|
|
|
test_script:
|
|
|
|
- ps: >-
|
2020-02-13 14:06:24 +08:00
|
|
|
.\scripts\appveyor\appveyor.test.ps1
|
2019-05-11 19:07:40 +08:00
|
|
|
artifacts:
|
2019-12-11 23:44:12 +08:00
|
|
|
- path: src\admin\Bootstrap.Admin\bin\release\netcoreapp3.1\publish\
|
2019-05-11 19:07:40 +08:00
|
|
|
name: BootstrapAdmin
|
|
|
|
type: WebDeployPackage
|
2019-05-13 15:38:50 +08:00
|
|
|
deploy:
|
|
|
|
- provider: GitHub
|
|
|
|
tag: v$(appveyor_build_version)
|
|
|
|
release: BootstrapAdmin-v$(appveyor_build_version)
|
|
|
|
description: BootstrapAdmin auto generated by Appveyor
|
|
|
|
auth_token:
|
|
|
|
secure: bTF+J9xTuL63Q3fMN533GYvPEjHYPZsFRCVrpYpyFNcQpLe3CMLYT1D/x52J9nhC
|
|
|
|
artifact: BootstrapAdmin
|
|
|
|
draft: true
|
|
|
|
prerelease: true
|
|
|
|
force_update: true
|
2019-05-16 17:20:59 +08:00
|
|
|
on:
|
|
|
|
branch: master
|
2019-05-26 08:59:27 +08:00
|
|
|
APPVEYOR_REPO_TAG: true
|
2019-05-28 16:12:40 +08:00
|
|
|
APPVEYOR_REPO_PROVIDER: gitHub
|
2019-05-11 19:07:40 +08:00
|
|
|
notifications:
|
|
|
|
- provider: Email
|
|
|
|
to:
|
|
|
|
- argo@163.com
|
2019-06-15 13:20:26 +08:00
|
|
|
subject: '{{projectName}} Build {{status}} {{buildVersion}}'
|
2019-05-11 19:07:40 +08:00
|
|
|
message: >-
|
|
|
|
<div style="font-family:'Segoe UI',Arial,Sans-Serif;font-size:10pt;">
|
|
|
|
{{#passed}}
|
2019-06-19 18:23:45 +08:00
|
|
|
<h1 style="font-size: 150%;font-weight:normal; color:#078DC7;"><a href="{{buildUrl}}" style="color:#078DC7;">Build {{projectName}} {{buildVersion}} completed</a></h1>{{/passed}}
|
2019-05-11 19:07:40 +08:00
|
|
|
{{#failed}}
|
2019-06-19 18:23:45 +08:00
|
|
|
<h1 style="font-size: 150%;font-weight:normal; color:#ff3228;"><a href="{{buildUrl}}" style="color:#ff3228;">Build {{projectName}} {{buildVersion}} failed</a></h1>{{/failed}}
|
2019-05-11 19:07:40 +08:00
|
|
|
<p style="color: #888;">
|
|
|
|
Commit <a href="{{commitUrl}}">{{commitId}}</a> by <a href="mailto:{{commitAuthorEmail}}">{{commitAuthor}}</a> on {{commitDate}}:
|
|
|
|
<br />
|
|
|
|
<span style="font-size: 110%;color:#222;">{{commitMessage}}</span>
|
|
|
|
</p>
|
|
|
|
<p><a href="{{notificationSettingsUrl}}" style="font-size:85%;color:#999;">Configure your notification preferences</a></p>
|
|
|
|
</div>
|
|
|
|
on_build_success: true
|
|
|
|
on_build_failure: true
|
2019-09-29 15:40:17 +08:00
|
|
|
on_build_status_changed: false
|