This repository has been archived by the owner on Jan 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
appveyor.yml
70 lines (67 loc) · 2.12 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
68
69
70
version: 3.0.1.{build}
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
skip_tags: true
image: Visual Studio 2017
configuration: Release
platform: Any CPU
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
environment:
COVERALLS_REPO_TOKEN:
secure: 3Tbgu3I/ZvHZybhtJHPCCsXPSre4D0aAlBQZzDm7IR1lgNDmxuFrrBYXNz9VUb7o
nuget:
disable_publish_on_pr: true
before_build:
- cmd: dotnet restore deveeldb.sln
build_script:
- cmd: dotnet build -c %CONFIGURATION% /p:GeneratePackageOnBuild=true /p:Version=%APPVEYOR_BUILD_VERSION% /p:DebugType=Full
test_script:
- cmd: >-
dotnet tool install coveralls.net --version 1.0.0 --tool-path tools
dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude="[*.tests?]*" --no-build
REM tools\coveralls.net\1.0.0\csmacnz.Coveralls.exe --opencover -i coverage.opencover.xml --useRelativePaths
artifacts:
- path: dist\$(platform)\deveeldb.dll
name: Library
- path: '**\coverage.opencover.xml'
name: Coverage Report
- path: dist\$(platform)\deveeldb-$(platform).*.zip
name: ZipPackage
- path: dist\anycpu\deveeldb.*.zip
name: ZipPackage
- path: dist\anycpu\deveeldb.dll
name: Library
- path: dist\$(platform)\deveeldb-$(platform).*.tar.gz
name: TarGzPackage
- path: dist\anycpu\deveeldb.*.tar.gz
name: TarGzPackage
- path: 'src\**\*.nupkg'
name: NuGet Package
deploy:
- provider: NuGet
server: https://www.myget.org/F/deveeldb/api/v2/package
api_key:
secure: gpX+ptyJspEvR0alXYkofdXZm9BFOrhNsxRPHKFmRrFSBbpUvzOScvQmE95mXKt1
symbol_server: https://www.myget.org/F/deveeldb/api/v2/package
notifications:
- provider: Slack
incoming_webhook: https://hooks.slack.com/services/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
channel: '#deveeldb'
on_build_success: true
on_build_failure: true
on_build_status_changed: false
- provider: Webhook
url: https://webhooks.gitter.im/e/4ae1a480ed985b179422
on_build_success: true
on_build_failure: true
on_build_status_changed: false