forked from sebastienros/fluid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
35 lines (35 loc) · 1022 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
31
32
33
34
35
image: Visual Studio 2017
init:
- git config --global core.autocrlf true
install:
- ps: $env:BuildNumber= $env:APPVEYOR_BUILD_NUMBER
- ps: $env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE = true
- ps: $env:NUGET_XMLDOC_MODE = "skip"
- ps: $env:DOTNET_CLI_TELEMETRY_OPTOUT = 1
build_script:
- dotnet --version
- dotnet restore
- dotnet build -c Release
- dotnet pack -c Release
test_script:
- dotnet test .\Fluid.Tests\Fluid.Tests.csproj
artifacts:
- path: 'Fluid\**\*.nupkg'
- path: 'Fluid.MvcViewEngine\**\*.nupkg'
deploy:
- provider: NuGet
on:
branch: dev
server: https://www.myget.org/F/fluid/api/v2/package
api_key:
secure: 7PQvuxXn5P39X5QDlDKWbNpOKJKivpqkq7umakIirAZ12CSTAiCwjtJhSBGVboPm
skip_symbols: true
artifact: /.*\.nupkg/
- provider: NuGet
on:
branch: master
server: https://www.nuget.org/api/v2/package
api_key:
secure: 0Hf8SA8orbmLciLGguAKUg6tiMfEwG73B7hGClUDuoaZkDmEh8pvhvXw8yhnpImf
skip_symbols: true
artifact: /.*\.nupkg/