forked from antonjefcoate/JustSaying-1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
43 lines (43 loc) · 1.31 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
39
40
41
42
43
image: Visual Studio 2017
version: 5.0.0-beta-{build}
configuration: Release
cache:
- packages
before_build:
- dotnet restore
clone_depth: 1
build:
project: JustSaying.sln
parallel: true
verbosity: minimal
pull_requests:
do_not_increment_build_number: true
test_script:
- ps: $wc = New-Object 'System.Net.WebClient'
- dotnet test .\JustSaying.UnitTests\JustSaying.UnitTests.csproj -l trx;logfilename=TestResult.xml
- ps: $wc.UploadFile("https://ci.appveyor.com/api/testresults/mstest/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\JustSaying.UnitTests\TestResults\TestResult.xml))
after_build:
- dotnet pack .\JustSaying\JustSaying.csproj -o ../output --no-build
- dotnet pack .\JustSaying.Models\JustSaying.Models.csproj -o ../output --no-build
artifacts:
- path: 'output\*.nupkg'
notifications:
- provider: HipChat
room: 'Eng :: Open Source'
auth_token:
secure: eJWABMRPoyfEF9iLzFaTcUEqTc7/64v0FtS1qQe4yhs=
on_build_success: false
on_build_failure: false
on_build_status_changed: false
- provider: Webhook
url: https://webhooks.gitter.im/e/1d5903ab716f417802d0
on_build_success: true
on_build_failure: true
on_build_status_changed: true
deploy:
- provider: NuGet
api_key:
secure: 6MzbzEs4YdJKS67Gio5gEO8mNKmwfC4UHTCmECZ1KOutI6ndm4vAECazmVNB6an7
artifact: /.*nupkg/
on:
APPVEYOR_REPO_TAG: true