forked from ofthelit/Mime-Detective
-
Notifications
You must be signed in to change notification settings - Fork 9
/
appveyor.yml
30 lines (30 loc) · 1010 Bytes
/
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
version: '{build}'
skip_tags: true
image: Visual Studio 2015
configuration: Release
install:
- mklink /J Data "test/Mime-Detective.Tests/Data"
- ps: mkdir -Force ".\build\" | Out-Null
- ps: Invoke-WebRequest "https://raw.githubusercontent.com/dotnet/cli/v2.1.3/scripts/obtain/dotnet-install.ps1" -OutFile ".\build\installcli.ps1"
- ps: $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetcli"
- ps: '& .\build\installcli.ps1 -InstallDir "$env:DOTNET_INSTALL_DIR" -NoPath -Version 2.1.3'
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
test: off
build_script:
- ps: ./Build.ps1
artifacts:
- path: artifacts/Mime-Detective.*.nupkg
deploy:
- provider: NuGet
api_key:
secure: telB7SEpRsnG9gsi/cnGuxmNKPustCjeT+0FC4tuA9vQQcuQgx8yYWYAKZsl3YUR
skip_symbols: true
on:
branch: /^(master|dev)$/
- provider: GitHub
auth_token:
secure: Fy6p3nueWv95xmQRo9Xbj5OgRcki2yZJ0IYJSAIvAi1D7pUI+0w01oy5Xzxe0HLc
artifact: /Mime-Detective.*\.nupkg/
tag: v$(appveyor_build_version)
on:
branch: master