forked from aspnet/Identity
-
Notifications
You must be signed in to change notification settings - Fork 9
/
appveyor.yml
52 lines (41 loc) · 1.21 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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