forked from mysql-net/MySqlConnector
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
28 lines (28 loc) · 1.44 KB
/
appveyor.yml
File metadata and controls
28 lines (28 loc) · 1.44 KB
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
version: 1.0.{build}
image: Visual Studio 2015
configuration: Release
services:
- mysql
install:
- cmd: |-
dotnet restore
nuget restore tests\SideBySide.Baseline\packages.config -SolutionDirectory .
build_script:
- cmd: |-
dotnet build src\MySqlConnector --configuration Release
dotnet build tests\SideBySide.New --configuration Release
copy tests\SideBySide.New\config.json.example tests\SideBySide.New\config.json
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /t:SideBySide_Baseline MySqlConnector.sln
before_test:
- cmd: |-
"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe" -u root --password=Password12! < .ci\server\init.sql
test_script:
- cmd: |-
dotnet test tests\MySqlConnector.Tests --configuration Release
echo Executing tests with No Compression, No SSL && copy /y tests\SideBySide.New\config.json.example tests\SideBySide.New\config.json && dotnet test tests/SideBySide.New --configuration Release
echo Executing tests with Compression, No SSL && copy /y .ci\config\config.compression.json tests\SideBySide.New\config.json && dotnet test tests/SideBySide.New --configuration Release
packages\xunit.runner.console.2.1.0\tools\xunit.console.exe tests\SideBySide.Baseline\bin\Release\SideBySide.Baseline.dll
notifications:
- provider: Slack
incoming_webhook:
secure: SRJ5fYQE4tvelyqeX3Lkv0gXta3O2pl4/+wNaqmqmcFkmYBe+U31T5YCGhipBOVhHBIZLevihOJZ78sFVJrmAFV5bHgtX/VPIKEXN+7ytis=