53 строки
1.2 KiB
YAML
53 строки
1.2 KiB
YAML
image: Visual Studio 2017
|
|
configuration: Release
|
|
skip_tags: true
|
|
|
|
init:
|
|
- git config --global core.autocrlf true
|
|
- ps: $env:TestSqlServerDefaultConnectionString = "Server=(local)\SQL2014;Database=master;Integrated Security=true"
|
|
|
|
environment:
|
|
assemblyVersion: 2.0.1
|
|
packageVersion: 2.0.1
|
|
|
|
version: $(assemblyVersion).{build}
|
|
|
|
build_script:
|
|
- ps: |
|
|
if ($env:APPVEYOR_REPO_BRANCH -ne "release")
|
|
{
|
|
$env:packageVersion = "$env:assemblyVersion-rc$env:appveyor_build_number"
|
|
}
|
|
|
|
.\build\CodeJam.AppVeyor.FixVersionProps.ps1 -path src\LinqToDB.Identity\LinqToDB.Identity.csproj -buildVersion $env:assemblyVersion -nugetVersion $env:packageVersion
|
|
- ps: .\build.ps1
|
|
|
|
test: off
|
|
|
|
artifacts:
|
|
- path: artifacts/packages/*.nupkg
|
|
|
|
services:
|
|
- mssql2014
|
|
#- mysql
|
|
#- postgresql
|
|
|
|
deploy:
|
|
- provider: NuGet
|
|
server: https://www.myget.org/F/linq2db/api/v2
|
|
api_key:
|
|
secure: LDw0jeA1Yo3R4/TKv2kmlgJR8dTT6Wun2MONq3uDvtVQJG4LOU9LjvVTAc7IgRfm
|
|
skip_symbols: true
|
|
on:
|
|
branch: master
|
|
|
|
- provider: NuGet
|
|
api_key:
|
|
secure: oTYw2IwTnz4qMD8c/MR/6mo+Nx3wa5Pp8MYfsKBCKCVuU6QCHlj+6QMXpnQses8G
|
|
skip_symbols: false
|
|
on:
|
|
branch: release
|
|
|
|
skip_commits:
|
|
message: /ci skip/ # Regex for matching commit message
|