-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
47 lines (36 loc) · 1.17 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
# Version format
version: 1.0{build}
# Build worker image
image: Visual Studio 2019
branches:
only:
- master
# Build platform
platform: Any CPU
# Build Configuration
configuration:
- Appveyor
# Execute script before build
before_build:
# Display .net version
- cmd: dotnet --version
# - nuget restore "%solution_name%"
- cmd: dotnet restore 'route4me-vbnet-sdk/Route4MeSDKLibrary/Route4MeSDKLibrary.csproj'
# - cmd: dotnet restore "route4me-vbnet-sdk/Route4meSDKLibraryUnitTests/Route4meSDKUnitTest.csproj"
# MSBuild settings
build_script:
- dotnet build 'route4me-vbnet-sdk/Route4MeSDKLibrary/Route4MeSDKLibrary.vbproj'
build:
verbosity: minimal
test_script:
# restore packages for mstest unit tests and run tests
# - cmd: dotnet restore ./Route4meSDKLibraryUnitTests/Route4meSDKUnitTest.csproj --verbosity m
# - cmd: cd Route4meSDKLibraryUnitTests
# - cmd: dotnet mstest
# - cmd: dotnet restore ./Route4MeSdkV5UnitTest/Route4MeSdkV5UnitTest.csproj --verbosity m
# - cmd: cd Route4MeSdkV5UnitTest
# - cmd: dotnet xunit
only_commits:
files:
- route4me-vbnet-sdk\Route4MeSDKLibrary\
# Omitted the tests, as they are not relevant for the question