From 9cbd2ca602825f9767948c7abe1114f48123f328 Mon Sep 17 00:00:00 2001 From: Tyler Leonhardt Date: Tue, 2 Jan 2018 13:03:59 -0800 Subject: [PATCH 1/6] change 'job Test -Safe' to '?Test' --- PowerShellEditorServices.build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerShellEditorServices.build.ps1 b/PowerShellEditorServices.build.ps1 index 365049e16..0304becc3 100644 --- a/PowerShellEditorServices.build.ps1 +++ b/PowerShellEditorServices.build.ps1 @@ -169,7 +169,7 @@ task TestHost -If { !$script:IsUnix} { exec { & $script:dotnetExe xunit -configuration $Configuration -framework net452 -verbose -nobuild -x86 } } -task CITest (job Test -Safe), { +task CITest ?Test, { # This task is used to ensure we have a chance to upload # test logs as a CI artifact when the tests fail if (error Test) { From 3b877641a6f69aae7524c15422ca9d06573ae397 Mon Sep 17 00:00:00 2001 From: Tyler Leonhardt Date: Tue, 2 Jan 2018 13:12:36 -0800 Subject: [PATCH 2/6] see if AppVeyor can handle no required version --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index d91c2ff9a..57b33dfa2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -16,7 +16,7 @@ install: Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force | Out-Null Import-PackageProvider NuGet -Force | Out-Null Set-PSRepository -Name PSGallery -InstallationPolicy Trusted | Out-Null - Install-Module InvokeBuild -RequiredVersion 3.2.1 -Scope CurrentUser -Force | Out-Null + Install-Module InvokeBuild -Scope CurrentUser -Force | Out-Null Install-Module platyPS -RequiredVersion 0.7.6 -Scope CurrentUser -Force | Out-Null build_script: From 781df1ce3ac0e45abca9dbcdeb1a70fd2cb99287 Mon Sep 17 00:00:00 2001 From: Tyler Leonhardt Date: Tue, 2 Jan 2018 15:04:25 -0800 Subject: [PATCH 3/6] add maximum versions --- appveyor.yml | 4 ++-- scripts/travis.ps1 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 57b33dfa2..ad60b3435 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -16,8 +16,8 @@ install: Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force | Out-Null Import-PackageProvider NuGet -Force | Out-Null Set-PSRepository -Name PSGallery -InstallationPolicy Trusted | Out-Null - Install-Module InvokeBuild -Scope CurrentUser -Force | Out-Null - Install-Module platyPS -RequiredVersion 0.7.6 -Scope CurrentUser -Force | Out-Null + Install-Module InvokeBuild -MaximumVersion 5.1.0 -Scope CurrentUser -Force | Out-Null + Install-Module platyPS -RequiredVersion 0.10.0 -Scope CurrentUser -Force | Out-Null build_script: - ps: Invoke-Build -Configuration Release diff --git a/scripts/travis.ps1 b/scripts/travis.ps1 index 676ef1dbc..1487466ee 100644 --- a/scripts/travis.ps1 +++ b/scripts/travis.ps1 @@ -1,8 +1,8 @@ # Install InvokeBuild -Install-Module InvokeBuild -Scope CurrentUser -Force -Install-Module PlatyPS -Scope CurrentUser -Force +Install-Module InvokeBuild -MaximumVersion 5.1.0 -Scope CurrentUser -Force +Install-Module PlatyPS -MaximumVersion 0.10.0 -Scope CurrentUser -Force # Build the code and perform tests From a9e3b7c85bcf4eb69564d89486d02170f5e73b9a Mon Sep 17 00:00:00 2001 From: Tyler Leonhardt Date: Tue, 2 Jan 2018 15:15:28 -0800 Subject: [PATCH 4/6] maximum, not required. typo --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index ad60b3435..3fd1fa159 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -17,7 +17,7 @@ install: Import-PackageProvider NuGet -Force | Out-Null Set-PSRepository -Name PSGallery -InstallationPolicy Trusted | Out-Null Install-Module InvokeBuild -MaximumVersion 5.1.0 -Scope CurrentUser -Force | Out-Null - Install-Module platyPS -RequiredVersion 0.10.0 -Scope CurrentUser -Force | Out-Null + Install-Module platyPS -MaximumVersion 0.10.0 -Scope CurrentUser -Force | Out-Null build_script: - ps: Invoke-Build -Configuration Release From 1dc3f74a5ec8980721824aad37d137c1d1e4ea62 Mon Sep 17 00:00:00 2001 From: Tyler Leonhardt Date: Tue, 2 Jan 2018 16:38:40 -0800 Subject: [PATCH 5/6] switch platyps back to requiredversion --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 3fd1fa159..fa3282e1b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -17,7 +17,7 @@ install: Import-PackageProvider NuGet -Force | Out-Null Set-PSRepository -Name PSGallery -InstallationPolicy Trusted | Out-Null Install-Module InvokeBuild -MaximumVersion 5.1.0 -Scope CurrentUser -Force | Out-Null - Install-Module platyPS -MaximumVersion 0.10.0 -Scope CurrentUser -Force | Out-Null + Install-Module platyPS -RequiredVersion 0.7.6 -Scope CurrentUser -Force | Out-Null build_script: - ps: Invoke-Build -Configuration Release From b3d067adeb980018d66aef58419402d4153e27ab Mon Sep 17 00:00:00 2001 From: Tyler Leonhardt Date: Tue, 2 Jan 2018 16:40:37 -0800 Subject: [PATCH 6/6] consistant platyps version --- appveyor.yml | 2 +- scripts/travis.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index fa3282e1b..1278b24bc 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -17,7 +17,7 @@ install: Import-PackageProvider NuGet -Force | Out-Null Set-PSRepository -Name PSGallery -InstallationPolicy Trusted | Out-Null Install-Module InvokeBuild -MaximumVersion 5.1.0 -Scope CurrentUser -Force | Out-Null - Install-Module platyPS -RequiredVersion 0.7.6 -Scope CurrentUser -Force | Out-Null + Install-Module platyPS -RequiredVersion 0.9.0 -Scope CurrentUser -Force | Out-Null build_script: - ps: Invoke-Build -Configuration Release diff --git a/scripts/travis.ps1 b/scripts/travis.ps1 index 1487466ee..5af67b0dd 100644 --- a/scripts/travis.ps1 +++ b/scripts/travis.ps1 @@ -2,7 +2,7 @@ # Install InvokeBuild Install-Module InvokeBuild -MaximumVersion 5.1.0 -Scope CurrentUser -Force -Install-Module PlatyPS -MaximumVersion 0.10.0 -Scope CurrentUser -Force +Install-Module PlatyPS -RequiredVersion 0.9.0 -Scope CurrentUser -Force # Build the code and perform tests