forked from brandondahler/Data.HashFunction
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathappveyor.yml
38 lines (38 loc) · 1.55 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
version: '1.0.{build}'
branches:
only:
- master
configuration:
- Debug
environment:
COVERALLS_REPO_TOKEN:
secure: 6jeh+WtWuKh30geTgWNduraiRDXN4HDp5TJNWRwrzl3ZZvG9HPZ0DVvpKWqeG6Ha
COVERITY_TOKEN:
secure: CSQbgJmXPTyS85qE8DgVZJaUVxUL883PJjXsKChfYR4
nuget:
account_feed: false
project_feed: true
disable_publish_on_pr: true
platform: Any CPU
init:
- ps: $Env:APPVEYOR_BUILD_NUMBER_PADDED = $Env:APPVEYOR_BUILD_NUMBER.PadLeft(5, "0")
before_build:
- appveyor-retry tools\nuget.exe restore src
- appveyor-retry dotnet restore -v Minimal src
- ps: .\build\build.ps1 -taskList 'Validate' -configuration 'Debug' -preReleaseTag 'ci' -buildNumber $Env:APPVEYOR_BUILD_NUMBER_PADDED
build_script:
- ps: .\build\build.ps1 -taskList 'Build' -configuration 'Debug' -preReleaseTag 'ci' -buildNumber $Env:APPVEYOR_BUILD_NUMBER_PADDED
- ps: .\build\build.ps1 -taskList 'Pack' -configuration 'Debug' -preReleaseTag 'ci' -buildNumber $Env:APPVEYOR_BUILD_NUMBER_PADDED
test_script:
- ps: .\build\build.ps1 -taskList 'Test' -configuration 'Debug' -preReleaseTag 'ci' -buildNumber $Env:APPVEYOR_BUILD_NUMBER_PADDED
after_test:
- cmd: src\packages\coveralls.io.1.3.4\tools\coveralls.net.exe --opencover Artifacts\Coverage\*.xml
# For when coverity supports dotnet analysis.
# - ps: .\build\coverity.ps1 -configuration 'Debug' -preReleaseTag 'coverity-ci' -buildNumber $Env:APPVEYOR_BUILD_NUMBER_PADDED
artifacts:
- path: Artifacts\Packages\*.nupkg
name: Packages
type: NuGetPackage
- path: Artifacts\Coverage\*.xml
name: CoverageResults
type: File