diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 77aecbe..694bb0f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -13,9 +13,9 @@ stages: vmImage: ubuntu-latest steps: - task: GoTool@0 - displayName: "Install Go 1.13" + displayName: "Install Go 1.14" inputs: - version: "1.13" + version: "1.14" - script: echo "##vso[task.setvariable variable=PATH]${PATH}:/home/vsts/go/bin/" - script: mkdir -p ${HOME}/go/src/github.com/pelletier/go-toml - script: cp -R . ${HOME}/go/src/github.com/pelletier/go-toml @@ -36,9 +36,9 @@ stages: vmImage: ubuntu-latest steps: - task: GoTool@0 - displayName: "Install Go 1.13" + displayName: "Install Go 1.14" inputs: - version: "1.13" + version: "1.14" - task: Go@0 displayName: "go fmt ./..." inputs: @@ -51,9 +51,9 @@ stages: vmImage: ubuntu-latest steps: - task: GoTool@0 - displayName: "Install Go 1.13" + displayName: "Install Go 1.14" inputs: - version: "1.13" + version: "1.14" - task: Go@0 displayName: "Generate coverage" inputs: @@ -69,9 +69,9 @@ stages: vmImage: ubuntu-latest steps: - task: GoTool@0 - displayName: "Install Go 1.13" + displayName: "Install Go 1.14" inputs: - version: "1.13" + version: "1.14" - script: echo "##vso[task.setvariable variable=PATH]${PATH}:/home/vsts/go/bin/" - task: Bash@3 inputs: @@ -84,9 +84,9 @@ stages: vmImage: ubuntu-latest steps: - task: GoTool@0 - displayName: "Install Go 1.13" + displayName: "Install Go 1.14" inputs: - version: "1.13" + version: "1.14" - script: echo "##vso[task.setvariable variable=PATH]${PATH}:/home/vsts/go/bin/" - script: mkdir -p ${HOME}/go/src/github.com/pelletier/go-toml - script: cp -R . ${HOME}/go/src/github.com/pelletier/go-toml @@ -100,6 +100,15 @@ stages: displayName: "unit tests" strategy: matrix: + linux 1.14: + goVersion: '1.14' + imageName: 'ubuntu-latest' + mac 1.14: + goVersion: '1.14' + imageName: 'macOS-latest' + windows 1.14: + goVersion: '1.14' + imageName: 'windows-latest' linux 1.13: goVersion: '1.13' imageName: 'ubuntu-latest' @@ -109,15 +118,6 @@ stages: windows 1.13: goVersion: '1.13' imageName: 'windows-latest' - linux 1.12: - goVersion: '1.12' - imageName: 'ubuntu-latest' - mac 1.12: - goVersion: '1.12' - imageName: 'macOS-latest' - windows 1.12: - goVersion: '1.12' - imageName: 'windows-latest' pool: vmImage: $(imageName) steps: