-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
35 lines (25 loc) · 1.1 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
version: 1.0.4.{build}
configuration:
- Debug
- Release
platform: Any CPU
init:
- ps: $Env:LABEL = "CI" + $Env:APPVEYOR_BUILD_NUMBER.PadLeft(5, "0")
install:
- ps: Start-FileDownload 'https://download.microsoft.com/download/0/F/D/0FD852A4-7EA1-4E2A-983A-0484AC19B92C/dotnet-sdk-2.0.0-win-gs-x64.exe'
- cmd: dotnet-sdk-2.0.0-win-gs-x64.exe /quiet
- ps: $env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE = "true"
environment:
PATH: $(PATH);$(PROGRAMFILES)\dotnet\
before_build:
- dotnet restore .\src\Linq.PropertyTranslator.Core\Linq.PropertyTranslator.Core.csproj
- dotnet restore .\test\Linq.PropertyTranslator.Core.Tests\Linq.PropertyTranslator.Core.Tests.csproj
build_script:
- dotnet build .\src\Linq.PropertyTranslator.Core\Linq.PropertyTranslator.Core.csproj -c %CONFIGURATION%
- dotnet build .\test\Linq.PropertyTranslator.Core.Tests\Linq.PropertyTranslator.Core.Tests.csproj -c %CONFIGURATION%
test_script:
- dotnet test --no-build .\test\Linq.PropertyTranslator.Core.Tests\Linq.PropertyTranslator.Core.Tests.csproj -c %CONFIGURATION%
#artifacts:
#- path: artifacts\**\*.*
#cache:
#- '%USERPROFILE%\.nuget\packages'