Skip to content

Commit 0917843

Browse files
author
Andrew
committed
Travis CI - part 4
1 parent 5f68dfb commit 0917843

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ install:
1919

2020
script:
2121
- ulimit -n 4096
22-
- powershell -File ./travis.ps1
22+
- powershell -File ./TravisCI.ps1

TravisCI.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +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
1+
$testResultsFile = "./ArchiveTestResults.xml"
2+
Import-Module "./Microsoft.PowerShell.Archive/Microsoft.PowerShell.Archive.psd1" -Force
3+
$testResults = Invoke-Pester -Script "./Tests" -OutputFormat NUnitXml -OutputFile $testResultsFile -PassThru
44
if ($testResults.FailedCount -gt 0) {
55
throw "$($testResults.FailedCount) tests failed."
66
}

0 commit comments

Comments
 (0)