forked from scottksmith95/LINQKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
47 lines (30 loc) · 1.5 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
os: Visual Studio 2015
version: 1.1.8.{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/A/3/0A372822-205D-4A86-BFA7-084D2CBE9EDF/DotNetCore.1.0.1-SDK.1.0.0.Preview2-003133-x64.exe'
- cmd: DotNetCore.1.0.1-SDK.1.0.0.Preview2-003133-x64 /quiet
environment:
PATH: $(PATH);$(PROGRAMFILES)\dotnet\
build_script:
- appveyor-retry dotnet restore -v Minimal
- dotnet build .\src\LinqKit\project.json -c %CONFIGURATION%
- dotnet build .\src\LinqKit.EntityFramework\project.json -c %CONFIGURATION%
- dotnet build .\src\LinqKit.Microsoft.EntityFrameworkCore\project.json -c %CONFIGURATION%
- dotnet build .\tests\LinqKit.Tests\project.json -c %CONFIGURATION%
- dotnet build .\tests\LinqKit.Microsoft.EntityFrameworkCore.Tests\project.json -c %CONFIGURATION%
- dotnet pack -c Release --no-build --version-suffix %LABEL% -o .\artifacts .\src\LinqKit\project.json
- dotnet pack -c Release --no-build --version-suffix %LABEL% -o .\artifacts .\src\LinqKit.EntityFramework\project.json
- dotnet pack -c Release --no-build --version-suffix %LABEL% -o .\artifacts .\src\LinqKit.Microsoft.EntityFrameworkCore\project.json
test_script:
- dotnet test -c %CONFIGURATION% --no-build .\tests\LinqKit.Tests
- dotnet test -c %CONFIGURATION% --no-build .\tests\LinqKit.Microsoft.EntityFrameworkCore.Tests
artifacts:
- path: artifacts\**\*.*
cache:
- '%USERPROFILE%\.nuget\packages'