diff --git a/.travis.yml b/.travis.yml
index 1356e9224..92a455a3c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,12 +3,13 @@ language: cpp
git:
depth: 1000
-os:
- - linux
- - osx
-sudo: required
-dist: trusty
-osx_image: xcode8.3
+matrix:
+ include:
+ - os: linux
+ dist: trusty
+ sudo: required
+ - os: osx
+ osx_image: xcode9.4
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
@@ -26,4 +27,4 @@ install:
script:
- ulimit -n 4096
- - powershell -File scripts/travis.ps1
+ - pwsh -File scripts/travis.ps1
diff --git a/PowerShellEditorServices.Common.props b/PowerShellEditorServices.Common.props
index 4a66d2acc..751a5f07e 100644
--- a/PowerShellEditorServices.Common.props
+++ b/PowerShellEditorServices.Common.props
@@ -1,6 +1,6 @@
- 1.8.2
+ 2.0.0
Microsoft
© Microsoft Corporation. All rights reserved.
PowerShell;editor;development;language;debugging
@@ -9,6 +9,5 @@
git
https://github.com/PowerShell/PowerShellEditorServices
portable
- 1.0.3
diff --git a/PowerShellEditorServices.build.ps1 b/PowerShellEditorServices.build.ps1
index bb3ee01ad..40eb60edc 100644
--- a/PowerShellEditorServices.build.ps1
+++ b/PowerShellEditorServices.build.ps1
@@ -18,16 +18,158 @@ param(
$script:IsCIBuild = $env:APPVEYOR -ne $null
$script:IsUnix = $PSVersionTable.PSEdition -and $PSVersionTable.PSEdition -eq "Core" -and !$IsWindows
-$script:TargetFrameworksParam = "/p:TargetFrameworks=\`"$(if (!$script:IsUnix) { "net451;" })netstandard1.6\`""
-$script:SaveModuleSupportsAllowPrerelease = (Get-Command Save-Module).Parameters.ContainsKey("AllowPrerelease")
+$script:TargetPlatform = "netstandard2.0"
+$script:TargetFrameworksParam = "/p:TargetFrameworks=`"$script:TargetPlatform`""
+$script:RequiredSdkVersion = "2.1.402"
+$script:NugetApiUriBase = 'https://www.nuget.org/api/v2/package'
+$script:ModuleBinPath = "$PSScriptRoot/module/PowerShellEditorServices/bin/"
+$script:VSCodeModuleBinPath = "$PSScriptRoot/module/PowerShellEditorServices.VSCode/bin/"
+$script:WindowsPowerShellFrameworkTarget = 'net461'
+$script:NetFrameworkPlatformId = 'win'
+$script:NetCoreTestingFrameworkVersion = '2.1.4'
+
+$script:PSCoreModulePath = $null
+
+$script:TestRuntime = @{
+ 'Core' = 'netcoreapp2.1'
+ 'Desktop' = 'net461'
+}
+
+<#
+Declarative specification of binary assets produced
+in the build that need to be binplaced in the module.
+Schema is:
+{
+