forked from Invoke-IR/PowerForensics
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
20 lines (16 loc) · 803 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#Publish to PowerShell Gallery with this key
environment:
NuGetApiKey:
secure: oqMFzG8F65K5l572V7VzlZIWU7xnSYDLtSXECJAAURrXe8M2+BAp9vHLT+1h1lR0
install:
- cinst pester
build: false
test_script:
- ps: $res = Invoke-Pester -Path ".\Modules\PowerForensics\Tests\PowerForensics.Test.ps1" -OutputFormat NUnitXml -OutputFile TestsResults.xml -PassThru
- ps: (New-Object 'System.Net.WebClient').UploadFile("https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\TestsResults.xml))
- ps: if ($res.FailedCount -gt 0) { throw "$($res.FailedCount) tests failed."}
notifications:
- provider: Slack
auth_token:
secure: GUAJLRNyO70bsW16NLdgHxrxq09/E1L/pgVtKcJh46ICmeAYK9rCYbKoYMc/aYAQAVcZChVDnTHBUDJAZBjy4o4iAwdkh7v4nudLoCtVIM8=
channel: '#github'