forked from martin-key/miningcore
-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
37 lines (29 loc) · 995 Bytes
/
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
#---------------------------------#
# environment configuration #
#---------------------------------#
# Build worker image (VM template)
image: Visual Studio 2017
#---------------------------------#
# build configuration #
#---------------------------------#
# scripts to run before build
before_build: dotnet restore src
build_script:
- cd src\MiningCore
- dotnet build -c Release --framework netcoreapp2.0
#---------------------------------#
# tests configuration #
#---------------------------------#
# to run tests again only selected assemblies and/or categories
test_script:
- cd ..\MiningCore.Tests
- dotnet test
#---------------------------------#
# notifications #
#---------------------------------#
notifications:
# Webhook
- provider: Webhook
url: https://registry.hub.docker.com/u/coinfoundry/miningcore-docker/trigger/5cea19ab-b489-4f7c-9fb2-da4112c51e66/
on_build_success: true
on_build_failure: false