zhaolei
5 days ago 921de2254ff5712a44ed8575ee8efe34252f6603
commit | author | age
921de2 1 version: 3.1.{build}
Z 2 branches:
3   only:
4   - release
5   - master
6   - dev
7 image: Visual Studio 2019
8 clone_depth: 1
9 init:
10 - ps: git version
11 environment:
12   CI: true
13   Appveyor: true
14   COVERALLS_REPO_TOKEN: 
15     secure: 5L1b6XqSNTOfU1iZrARo5eUOi1HOleVO3VDCW0pr6yaspgkC5jxL+gBDK0OEY8EI
16   COVERALLS_REPO_TOKEN_GITLAB:
17     secure: yPxFQv4kSWtZ7Vvs70bIXDx9IOEEJ9utI3UyZsJGU7rt63gZnHOry0kt9DBMWcwV
18   CODECOV_TOKEN:
19     secure: 6rKKLXCmy3HZBxW5SjoO4Ox7G09FC0NJgGnvukWkYyJ2rx1GCzu4JvmLin69SHRz
20   CODECOV_TOKEN_GITLAB:
21     secure: +22PuAn5seq4bbCVCly8zDFuyEV3m2NjW3QuM0+2gm4c8akwicNFmv2T/ZGd0Jpd
22 services:
23 - mssql2017
24 - mysql
25 - mongodb
26 install:
27 - ps: >-
28     .\scripts\appveyor\appveyor.install.ps1
29 build_script:
30 - ps: >-
31     .\scripts\appveyor\appveyor.build.ps1
32 test_script:
33 - ps: >-
34     .\scripts\appveyor\appveyor.test.ps1
35 artifacts:
36 - path: src\admin\Bootstrap.Admin\bin\release\netcoreapp3.1\publish\
37   name: BootstrapAdmin
38   type: WebDeployPackage
39 deploy:
40 - provider: GitHub
41   tag: v$(appveyor_build_version)
42   release: BootstrapAdmin-v$(appveyor_build_version)
43   description: BootstrapAdmin auto generated by Appveyor
44   auth_token:
45     secure: bTF+J9xTuL63Q3fMN533GYvPEjHYPZsFRCVrpYpyFNcQpLe3CMLYT1D/x52J9nhC
46   artifact: BootstrapAdmin
47   draft: true
48   prerelease: true
49   force_update: true
50   on:
51     branch: master
52     APPVEYOR_REPO_TAG: true
53     APPVEYOR_REPO_PROVIDER: gitHub
54 notifications:
55 - provider: Email
56   to:
57   - argo@163.com
58   subject: '{{projectName}} Build {{status}} {{buildVersion}}'
59   message: >-
60     <div style="font-family:'Segoe UI',Arial,Sans-Serif;font-size:10pt;">
61         {{#passed}}
62         <h1 style="font-size: 150%;font-weight:normal; color:#078DC7;"><a href="{{buildUrl}}" style="color:#078DC7;">Build {{projectName}} {{buildVersion}} completed</a></h1>{{/passed}}
63         {{#failed}}
64         <h1 style="font-size: 150%;font-weight:normal; color:#ff3228;"><a href="{{buildUrl}}" style="color:#ff3228;">Build {{projectName}} {{buildVersion}} failed</a></h1>{{/failed}}
65         <p style="color: #888;">
66             Commit <a href="{{commitUrl}}">{{commitId}}</a> by <a href="mailto:{{commitAuthorEmail}}">{{commitAuthor}}</a> on {{commitDate}}:
67             <br />
68             <span style="font-size: 110%;color:#222;">{{commitMessage}}</span>
69         </p>
70         <p><a href="{{notificationSettingsUrl}}" style="font-size:85%;color:#999;">Configure your notification preferences</a></p>
71     </div>
72   on_build_success: true
73   on_build_failure: true
74   on_build_status_changed: false