forked from quic-go/quic-go
use Go 1.12rc1 on CIs
This commit is contained in:
@@ -21,9 +21,7 @@ jobs:
|
||||
go get github.com/onsi/gomega
|
||||
- run:
|
||||
name: "Build infos"
|
||||
command: |
|
||||
echo $GOARCH
|
||||
go version
|
||||
command: go version
|
||||
- run:
|
||||
name: "Run benchmark tests"
|
||||
command: ginkgo -randomizeAllSpecs -trace benchmark -- -samples=1
|
||||
@@ -46,10 +44,6 @@ workflows:
|
||||
workflow:
|
||||
jobs:
|
||||
- build:
|
||||
name: "Go 1.11"
|
||||
image: "circleci/golang:1.11-stretch-browsers"
|
||||
name: "Go 1.12rc1"
|
||||
image: "circleci/golang:1.12rc1"
|
||||
runrace: true
|
||||
- build:
|
||||
name: "Go 1.10"
|
||||
image: "circleci/golang:1.10-stretch-browsers"
|
||||
runrace: false
|
||||
|
||||
11
.travis.yml
11
.travis.yml
@@ -4,8 +4,7 @@ group: travis_latest
|
||||
language: go
|
||||
|
||||
go:
|
||||
- "1.10.4"
|
||||
- "1.11"
|
||||
- "1.12rc1"
|
||||
|
||||
# first part of the GOARCH workaround
|
||||
# setting the GOARCH directly doesn't work, since the value will be overwritten later
|
||||
@@ -20,14 +19,6 @@ env:
|
||||
- TRAVIS_GOARCH=386 TESTMODE=unit
|
||||
- TRAVIS_GOARCH=386 TESTMODE=integration
|
||||
|
||||
# Linters might work differently in different Go versions.
|
||||
# Only run them in the most recent one.
|
||||
matrix:
|
||||
exclude:
|
||||
- go: "1.10.4"
|
||||
env: TRAVIS_GOARCH=amd64 TESTMODE=lint
|
||||
- go: "1.10.4"
|
||||
env: TRAVIS_GOARCH=386 TESTMODE=lint
|
||||
|
||||
# second part of the GOARCH workaround
|
||||
# now actually set the GOARCH env variable to the value of the temporary variable set earlier
|
||||
|
||||
@@ -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.11.windows-amd64.zip
|
||||
- 7z x go1.11.windows-amd64.zip -y -oC:\ > NUL
|
||||
- appveyor DownloadFile https://storage.googleapis.com/golang/go1.12rc1.windows-amd64.zip
|
||||
- 7z x go1.12rc1.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