-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
37 lines (33 loc) · 912 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
version: '2.0.{build}'
image: Visual Studio 2017
branches:
only:
- master
clone_depth: 1
init:
# Good practise, because Windows
- git config --global core.autocrlf true
# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node.js or io.js
# - ps: Install-Product node $env:nodejs_version
- cd SmartResult
before_build:
# Display minimal restore text
- cmd: dotnet restore --verbosity m
build_script:
- cmd: dotnet publish -c Release
# scripts to run before tests
before_test:
- cd ../SmartResult.Unit.Tests
- cmd: dotnet restore --verbosity m
- cd ../SmartResult.Integration.Tests
- cmd: dotnet restore --verbosity m
# scripts to run after tests
after_test:
# to run your custom scripts instead of automatic tests
test_script:
- cd ../SmartResult.Unit.Tests
- cmd: dotnet test
- cd ../SmartResult.Integration.Tests
- cmd: dotnet test