forked from martinjw/dbschemareader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
63 lines (56 loc) · 2.05 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
53
54
55
56
57
58
59
60
61
62
63
version: 2.4.1.{build}
skip_tags: true
image: Visual Studio 2017
configuration: Release
clone_depth: 2
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
services:
- mssql2016
- postgresql
- mysql
before_build:
- cmd: msbuild /t:restore DatabaseSchemaReader.sln
build:
project: build.proj
verbosity: minimal
after_build:
- cmd: msbuild /t:pack DatabaseSchemaReader\DatabaseSchemaReader.csproj /p:Configuration=Release
before_test:
- cmd: >-
sqlcmd -S "(local)\SQL2016" -U "sa" -P "Password12!" -i "DatabaseSchemaReaderTest\DatabaseScripts\create_database_northwind.sql"
sqlcmd -S "(local)\SQL2016" -U "sa" -P "Password12!" -d "NorthwindDsr" -i "DatabaseSchemaReaderTest\DatabaseScripts\create_schema_northwind.sql"
set pgpassword=Password12!
"C:\Program Files\PostgreSQL\9.5\bin\psql.exe" -h localhost -U postgres -c "CREATE DATABASE world"
"C:\Program Files\PostgreSQL\9.5\bin\psql.exe" -h localhost -U postgres world < "DatabaseSchemaReaderTest\DatabaseScripts\postgres_world.sql"
"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe" --user=root --password=Password12! -e "create database sakila"
"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe" --user=root --password=Password12! --database=sakila < "DatabaseSchemaReaderTest\DatabaseScripts\sakila-schema.sql"
"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe" --user=root --password=Password12! --database=sakila < "DatabaseSchemaReaderTest\DatabaseScripts\sakila-data.sql"
test:
assemblies: DatabaseSchemaReaderTest\bin\Release\DatabaseSchemaReaderTest.dll
categories:
except:
- Access
- Cache
- DataDirect.Oracle
- DataDirect.SqlServer
- DB2
- Devart.Oracle
- Devart.SqlServer
- Firebird
- Ingres
- Oracle
- SqlAzure
- SqlServer.AdventureWorks
- SqlServerCe
- Sybase
- VistaDb
artifacts:
- path: DatabaseSchemaReader\bin\Release\*.nupkg
name: Nuget
- path: bin
name: DatabaseSchemaReader