Skip to content

Commit bf8c712

Browse files
committed
add appveyor.yml
1 parent 6983e4f commit bf8c712

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Prometheus .NET Client
22

3+
[![Build status](https://ci.appveyor.com/api/projects/status/ik6p8hv9he1cl0a9?svg=true)](https://ci.appveyor.com/project/phnx47/prometheus-client) [![License MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT) [![NuGet Badge](https://buildstats.info/nuget/Prometheus.Client)](https://www.nuget.org/packages/Prometheus.Client/)
4+
35
This is an experimental dot net core version (unofficial).
46

57
Its a fork of [prometheus-net](https://github.com/andrasm/prometheus-net)

appveyor.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version: '{build}-{branch}'
2+
image: Visual Studio 2017
3+
clone_folder: c:\projects\prometheus.client
4+
build_script:
5+
- cmd: dotnet restore src\Prometheus.Client && dotnet pack src\Prometheus.Client -c Release --include-symbols
6+
test_script:
7+
- cmd: dotnet restore test\Prometheus.Client.Tests && dotnet test test\Prometheus.Client.Tests\Prometheus.Client.Tests.csproj
8+
artifacts:
9+
- path: '**\*.nupkg'
10+
name: All Nupkg
11+
deploy:
12+
- provider: NuGet
13+
api_key:
14+
secure: vukCl5k+S4fJtqeYNiB9ufy/NUCw+60cPcqnPoqvykBjSo8Ub8QtEfZNN9qvj5Jh
15+
on:
16+
appveyor_repo_tag: true

0 commit comments

Comments
 (0)