We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8284e5d commit 5f68dfbCopy full SHA for 5f68dfb
.travis.yml
@@ -18,4 +18,5 @@ install:
18
- popd
19
20
script:
21
- - ulimit -n 4096
+ - ulimit -n 4096
22
+ - powershell -File ./travis.ps1
TravisCI.ps1
@@ -0,0 +1,6 @@
1
+$testResultsFile = ".\ArchiveTestResults.xml"
2
+Import-Module "C:\projects\Archive-Module\Microsoft.PowerShell.Archive" -Force
3
+$testResults = Invoke-Pester -Script "C:\projects\Archive-Module\Tests" -OutputFormat NUnitXml -OutputFile $testResultsFile -PassThru
4
+if ($testResults.FailedCount -gt 0) {
5
+ throw "$($testResults.FailedCount) tests failed."
6
+}
0 commit comments