forked from lecaillon/Evolve
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
54 lines (44 loc) · 1.31 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
#---------------------------------#
# general configuration #
#---------------------------------#
version: 2.0.0.{build}
skip_tags: true
skip_non_tags: false
image: Visual Studio 2019
configuration: Release
# enable service required for build/tests
services:
- postgresql101
- mssql2017
- mysql
# scripts that are called at very beginning, before repo cloning
init:
- cmd: SET PATH=C:\Program Files\PostgreSQL\10\bin\;%PATH%
- cmd: SET PATH=C:\Program Files\MySQL\MySQL Server 5.7\bin\;%PATH%
#---------------------------------#
# build #
#---------------------------------#
# scripts to run before build
before_build:
- cmd: SET PGPASSWORD=Password12!
- cmd: createdb --username=postgres my_database
- cmd: SET MYSQL_PWD=Password12!
- cmd: mysql -e "create database my_database;" --user=root
- ps: dotnet tool install --global Cake.Tool
# build
build_script:
- ps: dotnet cake
#---------------------------------#
# tests #
#---------------------------------#
# disable automatic tests
test: off
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: '.\dist\Evolve*.nupkg'
- path: '.\dist\evolve.exe'
- path: '.\publish\coverage\badge_linecoverage.png'
- path: '.\publish\coverage'
type: zip