-
Notifications
You must be signed in to change notification settings - Fork 13
/
appveyor.yml
67 lines (62 loc) · 3.02 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
os: Visual Studio 2022
build: off
environment:
COVERALLS_REPO_TOKEN:
secure: 9Flz1qTscHObl14SzMvP5PvOHXDf95W83hg6tUn1fg4Uovtu2tcSTexjpnlU/u/5
before_test:
- dotnet --info
- VersionNumber.bat
- dotnet restore
test_script:
# Build sample
- msbuild .\clients\qwack.excel\qwack.excel.csproj
- msbuild test/qwack.excel.tests/qwack.excel.tests.csproj
- dotnet test --no-build test/Qwack.Excel.Tests/Qwack.Excel.Tests.csproj
- dotnet test test/Qwack.Math.Tests/Qwack.Math.Tests.csproj
- dotnet test test/Qwack.Dates.Tests/Qwack.Dates.Tests.csproj
- dotnet test test/Qwack.Core.Tests/Qwack.Core.Tests.csproj
- dotnet test test/Qwack.Models.Tests/Qwack.Models.Tests.csproj
- dotnet test test/Qwack.MonteCarlo.Test/Qwack.MonteCarlo.Test.csproj
- dotnet test test/Qwack.Serialization.Test/Qwack.Serialization.Test.csproj
- dotnet test test/Qwack.Transport.Tests/Qwack.Transport.Tests.csproj
- msbuild "clients\qwack.excel\Qwack.Excel.csproj" /p:OutputPath=".\exceloutput" /P:Configuration=Release
after_test:
# Build and pack source
- ps: iex ((Get-ChildItem ($env:USERPROFILE + '\.nuget\packages\OpenCover'))[0].FullName + '\tools\OpenCover.Console.exe' + ' -register:user -target:".\script\runtests.bat" -searchdirs:".\test\Qwack.Math.Tests\bin\Debug\netcoreapp3.1;.\test\Qwack.Excel.Tests\bin\Debug\net471;.\test\Qwack.Dates.Tests\bin\Debug\netcoreapp3.1;.\test\Qwack.Core.Tests\bin\Debug\netcoreapp3.1;.\test\Qwack.Models.Tests\bin\Debug\netcoreapp3.1;.\test\Qwack.MonteCarlo.Test\bin\Debug\netcoreapp3.1;.\test\Qwack.Serialization.Test\bin\Debug\netcoreapp3.1;.\test\Qwack.Transport.Tests\bin\Debug\netcoreapp3.1" -oldstyle -output:coverage.xml -skipautoprops -returntargetcode -filter:"+[Qwack*]* -[*Tests]* -[*Test.]* -[*Benchmark]*"')
- ps: iex ((Get-ChildItem ($env:USERPROFILE + '\.nuget\packages\coveralls.io'))[0].FullName + '\tools\coveralls.net.exe' + ' --opencover coverage.xml')
- dotnet pack -c Release src/Qwack.Math
- dotnet pack -c Release src/Qwack.Math.Interpolation
- dotnet pack -c Release src/Qwack.Dates
- dotnet pack -c Release src/Qwack.Core
- dotnet pack -c Release src/Qwack.Options
- dotnet pack -c Release src/Qwack.Paths
- dotnet pack -c Release src/Qwack.Providers
- dotnet pack -c Release src/Qwack.Random
- dotnet pack -c Release src/Qwack.Utils
- dotnet pack -c Release src/Qwack.Models
- dotnet pack -c Release src/Qwack.Futures
- dotnet pack -c Release src/Qwack.Transport
#artifacts:
# - path: '**/*.nupkg'
#
# - path : ./clients/qwack.excel/exceloutput
# name : exceloutput
# type : zip
#
#deploy:
#- provider: NuGet
# server: https://www.myget.org/F/qwack/api/v2/package
# api_key:
# secure: F4U6pELKG7NqzEZXyr7WmOySddam2tpYB1LqAPlJAKGT2WRukOZRtWk8ZBuZ+nzs
# skip_symbols: true
# on:
# branch: master
#
#- provider: GitHub
# auth_token:
# secure: QXX1FZtMhL54ppRs3l07glqZ/BGc/jkSRTbAJq8Zu1O96UqmG6XJ4HPDjFp36TAE
# artifact: /.*\.zip/
# draft: false
# prerelease: false
# on:
# branch: master # release from master branch only