forked from DevExpress/DevExtreme.AspNet.Data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
67 lines (57 loc) · 2.61 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
60
61
62
63
64
65
66
67
version: '{build}'
environment:
RELEASE_KEY_SECRET:
secure: qK/vt4/ihLipeamB7l+Dng==
install:
- ps: Install-Product node 8
- npm i -g npm@5
- 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
- node build/make-nojquery
- node build/replace-meta "%APPVEYOR_BUILD_NUMBER%" "%APPVEYOR_REPO_TAG_NAME%" "%APPVEYOR_REPO_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
- npm run eslint
- npm i --no-save "devextreme@>=18.1.0"
- npm run karma
- npm run karma-bundled
- npm run karma-bundled-nojquery
- npm run karma-bundled-nojquery-cjs
- >-
OpenCover\tools\OpenCover.Console -returntargetcode -register:user -oldstyle
-target:dotnet.exe
-targetargs:"vstest
net\DevExtreme.AspNet.Data.Tests\bin\Debug\netcoreapp2.0\DevExtreme.AspNet.Data.Tests.dll
net\DevExtreme.AspNet.Data.Tests.EFCore1\bin\Debug\netcoreapp2.0\DevExtreme.AspNet.Data.Tests.EFCore1.dll
net\DevExtreme.AspNet.Data.Tests.EFCore2\bin\Debug\netcoreapp2.0\DevExtreme.AspNet.Data.Tests.EFCore2.dll
net\DevExtreme.AspNet.Data.Tests.NH\bin\Debug\netcoreapp2.0\DevExtreme.AspNet.Data.Tests.NH.dll
net\DevExtreme.AspNet.Data.Tests.Xpo\bin\Debug\netcoreapp2.0\DevExtreme.AspNet.Data.Tests.Xpo.dll
"
-filter:"+[DevExtreme*]* -[DevExtreme.AspNet.Data.Tests]* -[DevExtreme.AspNet.Data.Tests.*]*"
-output:coverage_netcore.xml
- >-
OpenCover\tools\OpenCover.Console -returntargetcode -register:user
-target:%xunit20%\xunit.console.exe
-targetargs:"
net\DevExtreme.AspNet.Data.Tests.NET4\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
- npm pack ./js-nojquery
- 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_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