Skip to content

Commit 0e849e2

Browse files
change 'job Test -Safe' to '?Test' (#595)
* change 'job Test -Safe' to '?Test' * see if AppVeyor can handle no required version * add maximum versions * maximum, not required. typo * switch platyps back to requiredversion * consistant platyps version
1 parent 2464e93 commit 0e849e2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

PowerShellEditorServices.build.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ task TestHost -If { !$script:IsUnix} {
169169
exec { & $script:dotnetExe xunit -configuration $Configuration -framework net452 -verbose -nobuild -x86 }
170170
}
171171

172-
task CITest (job Test -Safe), {
172+
task CITest ?Test, {
173173
# This task is used to ensure we have a chance to upload
174174
# test logs as a CI artifact when the tests fail
175175
if (error Test) {

appveyor.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ install:
1616
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force | Out-Null
1717
Import-PackageProvider NuGet -Force | Out-Null
1818
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted | Out-Null
19-
Install-Module InvokeBuild -RequiredVersion 3.2.1 -Scope CurrentUser -Force | Out-Null
20-
Install-Module platyPS -RequiredVersion 0.7.6 -Scope CurrentUser -Force | Out-Null
19+
Install-Module InvokeBuild -MaximumVersion 5.1.0 -Scope CurrentUser -Force | Out-Null
20+
Install-Module platyPS -RequiredVersion 0.9.0 -Scope CurrentUser -Force | Out-Null
2121
2222
build_script:
2323
- ps: Invoke-Build -Configuration Release

scripts/travis.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22

33
# Install InvokeBuild
4-
Install-Module InvokeBuild -Scope CurrentUser -Force
5-
Install-Module PlatyPS -Scope CurrentUser -Force
4+
Install-Module InvokeBuild -MaximumVersion 5.1.0 -Scope CurrentUser -Force
5+
Install-Module PlatyPS -RequiredVersion 0.9.0 -Scope CurrentUser -Force
66

77

88
# Build the code and perform tests

0 commit comments

Comments
 (0)