-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathappveyor.yml
49 lines (33 loc) · 1.14 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
version: 1.0.{build}
image: Visual Studio 2017
configuration: Release
init:
- ps: >-
choco install opencover.portable
choco install dotnetcore-sdk
before_build:
- cmd: >-
REM git clone -q --branch=master https://github.com/Swastika-IO/Swastika-IO-Heart.git C:\projects\Swastika-Heart
REM git clone -q --branch=master https://github.com/Swastika-IO/Swastika-IO-Identity.git C:\projects\Swastika-Identity
cd src
nuget restore
REM SonarQube.Scanner.MSBuild.exe begin /k:"Swastika-IO-Core" /d:sonar.organization="swastika-io" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="abc12c086721b2321aeca5c1f7c06e19b6a92213"
REM MsBuild.exe /t:Rebuild
REM SonarQube.Scanner.MSBuild.exe end /d:sonar.login="abc12c086721b2321aeca5c1f7c06e19b6a92213"
cd Swastika.Identity
dotnet restore
dotnet build
build:
project: src\Swastika.Identity.sln
verbosity: minimal
artifacts:
- path: dist
name: web-app
notifications:
- provider: Email
to:
- nhathoang989@gmail.com
subject: '[ Swastika I/O Identity] Build failure'
on_build_success: false
on_build_failure: true
on_build_status_changed: false