forked from mysql-net/MySqlConnector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
32 lines (32 loc) · 1.52 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
image: Visual Studio 2017
services:
- mysql
build_script:
- dotnet --info
before_test:
- cmd: |-
"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe" -u root --password=Password12! < .ci\server\init.sql
"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe" -u root --password=Password12! < .ci\server\init_sha256.sql
test_script:
- ps: .\.ci\test.ps1
after_test:
- cmd: |-
dotnet pack src\MySqlConnector\MySqlConnector.csproj -c Release -p:SourceLinkCreate=true -p:SourceLinkTest=true
dotnet pack src\MySqlConnector.Logging.log4net\MySqlConnector.Logging.log4net.csproj -c Release -p:SourceLinkCreate=true -p:SourceLinkTest=true
dotnet pack src\MySqlConnector.Logging.Microsoft.Extensions.Logging\MySqlConnector.Logging.Microsoft.Extensions.Logging.csproj -c Release -p:SourceLinkCreate=true -p:SourceLinkTest=true
dotnet pack src\MySqlConnector.Logging.NLog\MySqlConnector.Logging.NLog.csproj -c Release -p:SourceLinkCreate=true -p:SourceLinkTest=true
dotnet pack src\MySqlConnector.Logging.Serilog\MySqlConnector.Logging.Serilog.csproj -c Release -p:SourceLinkCreate=true -p:SourceLinkTest=true
notifications:
- provider: Slack
incoming_webhook:
secure: SRJ5fYQE4tvelyqeX3Lkv0gXta3O2pl4/+wNaqmqmcFkmYBe+U31T5YCGhipBOVhHBIZLevihOJZ78sFVJrmAFV5bHgtX/VPIKEXN+7ytis=
artifacts:
- path: src\*\bin\Release\*.nupkg
deploy:
- provider: NuGet
api_key:
secure: cb7z9qQsz1qaBcS46hh/jF9gwMxRaHxyTHZfKl1R9UZS0ADX6RCcBr5LbyqiyqES
artifact: /.*MySqlConnector[0-9.]+nupkg/
skip_symbols: true
on:
appveyor_repo_tag: true