diff --git a/README.md b/README.md index d1b97bd..61ba94a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build status](https://ci.appveyor.com/api/projects/status/wi5i60tojfd7056b/branch/master?svg=true)](https://ci.appveyor.com/project/PowerShell/xbitlocker/branch/master) +[![Build status](https://ci.appveyor.com/api/projects/status/wi5i60tojfd7056b/branch/master?svg=true)](https://ci.appveyor.com/project/PowerShell/xbitlocker/branch/master) # xBitlocker The **xBitlocker** module is a part of the Windows PowerShell Desired State Configuration (DSC) Resource Kit, which is a collection of DSC Resources produced by the PowerShell Team. @@ -101,6 +101,7 @@ Defaults to false. ## Versions ### Unreleased +* Converted appveyor.yml to install Pester from PSGallery instead of from Chocolatey. ### 1.1.0.0 diff --git a/appveyor.yml b/appveyor.yml index 4b977c2..22fe6aa 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,13 +2,12 @@ # environment configuration # #---------------------------------# version: 1.1.{build}.0 -install: - - cinst -y pester - - git clone https://github.com/PowerShell/DscResource.Tests - - ps: Push-Location - - cd DscResource.Tests - - ps: Import-Module .\TestHelper.psm1 -force - - ps: Pop-Location +install: + - git clone https://github.com/PowerShell/DscResource.Tests + - ps: | + Import-Module -Name .\DscResource.Tests\TestHelper.psm1 -Force + Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force + Install-Module -Name Pester -Repository PSGallery -Force #---------------------------------# # build configuration #