-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathappveyor.yml
More file actions
54 lines (52 loc) · 1.58 KB
/
appveyor.yml
File metadata and controls
54 lines (52 loc) · 1.58 KB
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
version: '{build}'
image:
- Visual Studio 2019
- Ubuntu
skip_commits:
files:
- '*.md'
- '*.txt'
environment:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
skip_tags: true
install:
- cmd: curl -O https://dot.net/v1/dotnet-install.ps1
- sh: curl -O https://dot.net/v1/dotnet-install.sh
- sh: chmod +x dotnet-install.sh
- ps: |
$sdkVersion = (type .\global.json | ConvertFrom-Json).sdk.version
if ($isWindows) { ./dotnet-install.ps1 -Version $sdkVersion }
if ($isLinux) { ./dotnet-install.sh --version $sdkVersion }
before_build:
- dotnet --info
build_script:
- ps: >-
$id = $env:APPVEYOR_REPO_COMMIT_TIMESTAMP -replace '([-:]|\.0+Z)', ''
$id = $id.Substring(0, 13)
if ($isWindows) { .\pack.cmd ci-$id } else { ./pack.sh ci-$id }
test_script:
- cmd: test.cmd
- sh: ./test.sh
- sh: # revert to following post merge of PR codecov/codecov-bash#138
- sh: # curl -s https://codecov.io/bash > codecov
- sh: curl -s https://raw.githubusercontent.com/codecov/codecov-bash/14662d32a4862918c31efafe4b450de1305a38e1/codecov > codecov
- sh: chmod +x codecov
- sh: ./codecov -f ./tests/coverage.opencover.xml
artifacts:
- path: dist\*.nupkg
deploy:
- provider: NuGet
server: https://www.myget.org/F/raboof/api/v2/package
api_key:
secure: fhGwXyO35FSshRzs5GWmF1LJTrd1sIqmS/jNCSfO2LfOciuYAKiXuFMYZFGiTAl+
symbol_server: https://www.myget.org/F/raboof/symbols/api/v2/package
on:
branch: master
notifications:
- provider: Email
to:
- raboof-ci@googlegroups.com
on_build_success: true
on_build_failure: true
on_build_status_changed: false