forked from quic-go/quic-go
update Go to 1.10.4 and 1.11 on the CIs
This commit is contained in:
@@ -39,11 +39,11 @@ version: 2
|
||||
jobs:
|
||||
build-go1.11:
|
||||
docker:
|
||||
- image: circleci/golang:1.11rc1-stretch-browsers
|
||||
- image: circleci/golang:1.11-stretch-browsers
|
||||
<<: *defaults
|
||||
build-go1.10:
|
||||
docker:
|
||||
- image: circleci/golang:1.10.3-stretch-browsers
|
||||
- image: circleci/golang:1.10.4-stretch-browsers
|
||||
<<: *defaults
|
||||
workflows:
|
||||
version: 2
|
||||
|
||||
@@ -8,8 +8,8 @@ addons:
|
||||
language: go
|
||||
|
||||
go:
|
||||
- "1.10.3"
|
||||
- "1.11rc1"
|
||||
- "1.10.4"
|
||||
- "1.11"
|
||||
|
||||
# first part of the GOARCH workaround
|
||||
# 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.
|
||||
matrix:
|
||||
exclude:
|
||||
- go: "1.10.3"
|
||||
- go: "1.10.4"
|
||||
env: TRAVIS_GOARCH=amd64 TESTMODE=lint
|
||||
- go: "1.10.3"
|
||||
- go: "1.10.4"
|
||||
env: TRAVIS_GOARCH=386 TESTMODE=lint
|
||||
|
||||
# second part of the GOARCH workaround
|
||||
|
||||
@@ -14,8 +14,8 @@ clone_folder: c:\gopath\src\github.com\lucas-clemente\quic-go
|
||||
|
||||
install:
|
||||
- rmdir c:\go /s /q
|
||||
- appveyor DownloadFile https://storage.googleapis.com/golang/go1.11rc1.windows-amd64.zip
|
||||
- 7z x go1.11rc1.windows-amd64.zip -y -oC:\ > NUL
|
||||
- appveyor DownloadFile https://storage.googleapis.com/golang/go1.11.windows-amd64.zip
|
||||
- 7z x go1.11.windows-amd64.zip -y -oC:\ > NUL
|
||||
- set PATH=%PATH%;%GOPATH%\bin\windows_%GOARCH%;%GOPATH%\bin
|
||||
- echo %PATH%
|
||||
- echo %GOPATH%
|
||||
|
||||
Reference in New Issue
Block a user