Skip to content

Commit

Permalink
appveyor testing [releaseme]
Browse files Browse the repository at this point in the history
  • Loading branch information
RamblingCookieMonster committed Sep 10, 2015
1 parent c6caa26 commit 8ac7a40
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/appveyor.pester.ps1
Expand Up @@ -29,14 +29,14 @@ param(
{
"`n`tSTATUS: Testing with PowerShell $PSVersion`n"

if(-not (Get-Module Pester))
# cinst didn't seem
if(-not (Get-Module Pester -ListAvailable))
{
$null = Install-Module Pester -Force -Confirm:$False
}

Import-Module Pester -force


Invoke-Pester @Verbose -Path "$ProjectRoot\Tests" -OutputFormat NUnitXml -OutputFile "$ProjectRoot\$TestFile" -PassThru |
Export-Clixml -Path "$ProjectRoot\PesterResults_PS$PSVersion`_$Timestamp.xml"

Expand Down
4 changes: 4 additions & 0 deletions appveyor.yml
Expand Up @@ -20,6 +20,10 @@ skip_tags: true
skip_commits:
message: /updated readme.*/

# PS2 compat
install:
- cinst pester -y

# Package things up.
build_script:
- 7z a %ModuleName%.zip %ModuleName%\
Expand Down

0 comments on commit 8ac7a40

Please sign in to comment.