update Go to 1.10.4 and 1.11 on the CIs

This commit is contained in:
Marten Seemann
2018-08-25 22:56:08 +07:00
parent 2584eded15
commit 0f36f94b41
3 changed files with 8 additions and 8 deletions

View File

@@ -39,11 +39,11 @@ version: 2
jobs: jobs:
build-go1.11: build-go1.11:
docker: docker:
- image: circleci/golang:1.11rc1-stretch-browsers - image: circleci/golang:1.11-stretch-browsers
<<: *defaults <<: *defaults
build-go1.10: build-go1.10:
docker: docker:
- image: circleci/golang:1.10.3-stretch-browsers - image: circleci/golang:1.10.4-stretch-browsers
<<: *defaults <<: *defaults
workflows: workflows:
version: 2 version: 2

View File

@@ -8,8 +8,8 @@ addons:
language: go language: go
go: go:
- "1.10.3" - "1.10.4"
- "1.11rc1" - "1.11"
# first part of the GOARCH workaround # first part of the GOARCH workaround
# setting the GOARCH directly doesn't work, since the value will be overwritten later # setting the GOARCH directly doesn't work, since the value will be overwritten later
@@ -28,9 +28,9 @@ env:
# Only run them in the most recent one. # Only run them in the most recent one.
matrix: matrix:
exclude: exclude:
- go: "1.10.3" - go: "1.10.4"
env: TRAVIS_GOARCH=amd64 TESTMODE=lint env: TRAVIS_GOARCH=amd64 TESTMODE=lint
- go: "1.10.3" - go: "1.10.4"
env: TRAVIS_GOARCH=386 TESTMODE=lint env: TRAVIS_GOARCH=386 TESTMODE=lint
# second part of the GOARCH workaround # second part of the GOARCH workaround

View File

@@ -14,8 +14,8 @@ clone_folder: c:\gopath\src\github.com\lucas-clemente\quic-go
install: install:
- rmdir c:\go /s /q - rmdir c:\go /s /q
- appveyor DownloadFile https://storage.googleapis.com/golang/go1.11rc1.windows-amd64.zip - appveyor DownloadFile https://storage.googleapis.com/golang/go1.11.windows-amd64.zip
- 7z x go1.11rc1.windows-amd64.zip -y -oC:\ > NUL - 7z x go1.11.windows-amd64.zip -y -oC:\ > NUL
- set PATH=%PATH%;%GOPATH%\bin\windows_%GOARCH%;%GOPATH%\bin - set PATH=%PATH%;%GOPATH%\bin\windows_%GOARCH%;%GOPATH%\bin
- echo %PATH% - echo %PATH%
- echo %GOPATH% - echo %GOPATH%