version: 1.0.{build} branches: only: - master - dev image: Visual Studio 2017 clone_depth: 1 init: - ps: git version environment: Appveyor: true COVERALLS_REPO_TOKEN: secure: 5L1b6XqSNTOfU1iZrARo5eUOi1HOleVO3VDCW0pr6yaspgkC5jxL+gBDK0OEY8EI COVERALLS_REPO_TOKEN_GITLAB: secure: yPxFQv4kSWtZ7Vvs70bIXDx9IOEEJ9utI3UyZsJGU7rt63gZnHOry0kt9DBMWcwV CODECOV_TOKEN: secure: 6rKKLXCmy3HZBxW5SjoO4Ox7G09FC0NJgGnvukWkYyJ2rx1GCzu4JvmLin69SHRz CODECOV_TOKEN_GITLAB: secure: +22PuAn5seq4bbCVCly8zDFuyEV3m2NjW3QuM0+2gm4c8akwicNFmv2T/ZGd0Jpd cache: C:\ProgramData\chocolatey\lib\codecov\tools services: - mssql2014 - mysql - mongodb install: - ps: >- #copy my.ini into mysql folder dotnet --version xcopy "$($env:appveyor_build_folder)\DatabaseScripts\MySQL\my.ini" "C:\Program Files\MySQL\MySQL Server 5.7" /y build_script: - ps: >- ./appveyor.build.ps1 test_script: - ps: >- ./appveyor.test.ps1 artifacts: - path: Bootstrap.Admin\bin\release\netcoreapp2.2\publish\ name: BootstrapAdmin type: WebDeployPackage 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 on: branch: master APPVEYOR_REPO_TAG: true APPVEYOR_REPO_PROVIDER: gitHub notifications: - provider: Email to: - argo@163.com subject: '{{projectName}} {{branch}} Build {{status}} {{buildVersion}}' message: >-
Commit {{commitId}} by {{commitAuthor}} on {{commitDate}}:
{{commitMessage}}