-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
33 lines (33 loc) · 1 KB
/
appveyor.yml
File metadata and controls
33 lines (33 loc) · 1 KB
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
version: '1.0.{build}'
image: Visual Studio 2019
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
# Display minimal restore text
- cmd: dotnet restore ./Constant/Constant.csproj --verbosity m
build_script:
# output will be in ./Constant/bin/debug/netcoreapp1.1/publish
- cmd: dotnet build -c Release ./Constant/Constant.csproj
after_build:
# For once the build has completed
artifacts:
# - path: '\Constant\bin\Debug\netcoreapp1.1\publish'
# name: WebSite
# type: WebDeployPackage
clone_depth: 1
test_script:
# restore packages for our unit tests
- cmd: dotnet restore ./Constant.Tests.Unit/Constant.Tests.Unit.csproj --verbosity m
# run the unit tests
- cmd: dotnet test ./Constant.Tests.Unit/Constant.Tests.Unit.csproj
on_finish :
# any cleanup in here
deploy: off