-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
77 lines (58 loc) · 1.78 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#---------------------------------#
# general configuration #
#---------------------------------#
# version format
version: 1.0.{build}
# branches to build
branches:
only:
- master
#---------------------------------#
# environment configuration #
#---------------------------------#
# Build worker image (VM template)
image: Visual Studio 2015
# scripts that are called at very beginning, before repo cloning
init:
- git config --global core.autocrlf input
#- choco install "msbuild-sonarqube-runner" -y
# environment variables
environment:
AppVeyor: true
COVERALLS_REPO_TOKEN:
secure: hUKlb4xp2OhIGZ4VwMrZ9ok2UQAmDj+R6+Qay0UYnRtIIHwUVF9Ylb4Ov8/7WC1C
# enable service required for build/tests
services:
- mssql2014
# build cache to preserve files/folders between builds
cache:
- packages -> **\packages.config
#---------------------------------#
# build configuration #
#---------------------------------#
# build platform
platform:
- Any CPU
# build Configuration
configuration:
- Debug
before_build:
- nuget restore
#- MSBuild.SonarQube.Runner.exe begin /k:"Skeleton" /d:"sonar.host.url=https://sonarqube.com" /d:"sonar.organisation="jej666" /d:"sonar.login=5c6c3a50986367578beecbb5d5926218c5252942"
build:
project: Skeleton.sln
verbosity: quiet
after_build:
#- MSBuild.SonarQube.Runner.exe end /d:"sonar.login=5c6c3a50986367578beecbb5d5926218c5252942"
#---------------------------------#
# test configuration #
#---------------------------------#
before_test:
- sqlcmd -S localhost,1433 -U sa -P Password12! -Q "CREATE DATABASE TestDb" -d "master"
test:
assemblies:
only:
- Skeleton.Tests.Core.dll
- Skeleton.Tests.Infrastructure.dll
after_test:
cmd: ./runTestForCoveralls.bat