-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
27 lines (27 loc) · 722 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
version: '0.0.0.1.{build}'
image: Visual Studio 2017
branches:
only:
- master
init:
# Good practise, because Windows line endings are different from Unix/Linux ones
- cmd: git config --global core.autocrlf true
install:
# Install repo specific stuff here
before_build:
# Display .NET Core version
- cmd: dotnet --version
- cmd: cd
# Display minimal restore text
- cmd: dotnet restore ./DiscoNet.sln --verbosity m
build_script:
- cmd: dotnet publish ./DiscoNet.sln
after_build:
# For once the build has completed
clone_depth: 1
test_script:
# restore packages and run
dotnet test ./DiscoNet.Tests/DiscoNet.Tests.csproj -c Release -f netcoreapp2.0
on_finish :
# any cleanup in here
deploy: off