forked from DevExpress/DevExtreme.AspNet.Data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
59 lines (49 loc) · 2.22 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
48
49
50
51
52
53
54
55
56
57
58
59
version: '{build}'
environment:
RELEASE_KEY_SECRET:
secure: qK/vt4/ihLipeamB7l+Dng==
install:
- ps: Install-Product node 6
- if defined RELEASE_KEY_SECRET (nuget install secure-file -ExcludeVersion -Verbosity quiet && secure-file\tools\secure-file -decrypt net\DevExtreme.AspNet.Data\release.snk.enc -secret %RELEASE_KEY_SECRET%)
- nuget install -Verbosity quiet -ExcludeVersion -OutputDirectory . OpenCover
- pip install -q codecov
- powershell -File build\replace-meta.ps1 %APPVEYOR_BUILD_NUMBER% %APPVEYOR_REPO_TAG_NAME%
- npm install
- dotnet restore net\DevExtreme.AspNet.Data.sln
- nuget restore net\DevExtreme.AspNet.Data.sln -Verbosity quiet
build_script:
- dotnet build net\DevExtreme.AspNet.Data.sln
test_script:
- npm run eclint-check
- npm test
- >-
OpenCover\tools\OpenCover.Console -returntargetcode -register:user -oldstyle
-target:dotnet.exe
-targetargs:"test net\DevExtreme.AspNet.Data.Tests\DevExtreme.AspNet.Data.Tests.csproj"
-filter:"+[DevExtreme*]* -[DevExtreme.AspNet.Data.Tests]*"
-output:coverage_netcore.xml
- >-
OpenCover\tools\OpenCover.Console -returntargetcode -register:user -oldstyle
-target:dotnet.exe
-targetargs:"test net\DevExtreme.AspNet.Data.Tests.EFCore\DevExtreme.AspNet.Data.Tests.EFCore.csproj"
-filter:"+[DevExtreme*]* -[DevExtreme.AspNet.Data.Tests.EFCore]*"
-output:coverage_efcore.xml
- >-
OpenCover\tools\OpenCover.Console -returntargetcode -register:user
-target:%xunit20%\xunit.console.exe
-targetargs:"
net\DevExtreme.AspNet.Data.Tests.NET40\bin\Debug\DevExtreme.AspNet.Data.Tests.dll
net\DevExtreme.AspNet.Data.Tests.EF6\bin\Debug\DevExtreme.AspNet.Data.Tests.EF6.dll
-noshadow"
-filter:"+[DevExtreme*]* -[DevExtreme.AspNet.Data.Tests]* -[DevExtreme.AspNet.Data.Tests.*]*"
-output:coverage_netfx.xml
after_test:
- npm pack
- cmd /c net\docfx\build
- if defined RELEASE_KEY_SECRET dotnet pack net\DevExtreme.AspNet.Data --configuration=Release
on_success:
- codecov -X gcov -f coverage_netcore.xml coverage_efcore.xml coverage_netfx.xml js-test/coverage/lcov.info
artifacts:
- path: net\DevExtreme.AspNet.Data\bin\Release\*.nupkg
- path: devextreme-aspnet-data-*.tgz
- path: net\docfx\build\site