-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
356 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Created by https://www.gitignore.io/ | ||
|
||
### NuGet Packages ### | ||
*.nupkg | ||
# The packages folder can be ignored because of Package Restore | ||
**/packages/* | ||
|
||
### VisualStudioCode ### | ||
.vscode | ||
|
||
### Pester Test Result ### | ||
TestResult.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Import-Module Pester | ||
|
||
Invoke-Pester tests\** -OutputFile TestResult.xml -OutputFormat NUnitXml | ||
|
||
$appVeyorJobId = $env:APPVEYOR_JOB_ID | ||
if ($appVeyorJobId) { | ||
$url = "https://ci.appveyor.com/api/testresults/nunit/$appVeyorJobId" | ||
|
||
$wc = New-Object 'System.Net.WebClient' | ||
$wc.UploadFile($url, (Resolve-Path '.\TestResult.xml')); | ||
|
||
"Uploaded test results to AppVeyor." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# psake-contrib | ||
|
||
version: 1.0.0-build-{build} | ||
|
||
branches: | ||
except: | ||
- gh-pages | ||
|
||
os: Visual Studio 2015 | ||
|
||
install: | ||
- cinst pester | ||
|
||
build: false | ||
|
||
test_script: | ||
- ps: . .\Run-Tests.ps1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@echo off | ||
|
||
NuGet.exe install Pester -OutputDirectory packages -ExcludeVersion -Verbosity quiet | ||
|
||
set pester=.\packages\Pester\tools\Pester.psm1 | ||
|
||
powershell -NoProfile -ExecutionPolicy Bypass -Command "Import-Module '%pester%'; Invoke-Pester tests\**;" | ||
goto :eof |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.