diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json
new file mode 100644
index 0000000..2411106
--- /dev/null
+++ b/.config/dotnet-tools.json
@@ -0,0 +1,18 @@
+{
+ "version": 1,
+ "isRoot": true,
+ "tools": {
+ "dotnet-format": {
+ "version": "4.0.40103",
+ "commands": [
+ "dotnet-format"
+ ]
+ },
+ "minicover": {
+ "version": "3.0.0",
+ "commands": [
+ "minicover"
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/.travis.yml b/.travis.yml
index 7b99f14..5f4f23d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,5 @@
language: csharp
-dotnet: '2.2.401'
+dotnet: '3.0.100'
mono: none
sudo: required
@@ -25,12 +25,12 @@ before_install:
- sudo apt-get install -y powershell
install:
- - dotnet tool install -g dotnet-format --version 3.1.37601
+ - dotnet tool restore
- pwsh ./ci/Install-Minikube.ps1 -MinikubeVersion v1.2.0 -KubernetesVersion v1.16.0
- pwsh -c 'Install-Module -Force -Scope CurrentUser PSScriptAnalyzer'
script:
- - ~/.dotnet/tools/dotnet-format
+ - dotnet dotnet-format
- pwsh -c 'Invoke-ScriptAnalyzer -EnableExit -Path . -Recurse -Settings PSScriptAnalyzerSettings.psd1 | Format-List -Property RuleName,Message,ScriptPath,Line,Column'
- pwsh ./build.ps1
- pwsh ./ci/Invoke-Tests.ps1
diff --git a/global.json b/global.json
index 3d26ee6..79422f0 100644
--- a/global.json
+++ b/global.json
@@ -1,5 +1,5 @@
{
"sdk": {
- "version": "2.2.401"
+ "version": "3.0.100"
}
}
diff --git a/src/PSKubectl.csproj b/src/PSKubectl.csproj
index faf70c7..da42b6b 100644
--- a/src/PSKubectl.csproj
+++ b/src/PSKubectl.csproj
@@ -13,6 +13,5 @@
All
-