mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
circle CI: run with latest Go (#3358)
* circle CI: run with latest Go We compile coredns with latest Go on each release, do this same in Circle-ci Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
@@ -13,7 +13,8 @@ initWorkingDir: &initWorkingDir
|
|||||||
GOROOT=$(go env GOROOT)
|
GOROOT=$(go env GOROOT)
|
||||||
sudo rm -r $(go env GOROOT)
|
sudo rm -r $(go env GOROOT)
|
||||||
sudo mkdir $GOROOT
|
sudo mkdir $GOROOT
|
||||||
curl https://dl.google.com/go/go1.12.5.linux-amd64.tar.gz | sudo tar xz -C $GOROOT --strip-components=1
|
LATEST=$(curl -s https://golang.org/VERSION?m=text)
|
||||||
|
curl https://dl.google.com/go/${LATEST}.linux-amd64.tar.gz | sudo tar xz -C $GOROOT --strip-components=1
|
||||||
|
|
||||||
integrationDefaults: &integrationDefaults
|
integrationDefaults: &integrationDefaults
|
||||||
machine:
|
machine:
|
||||||
@@ -55,7 +56,7 @@ jobs:
|
|||||||
name: Run Kubernetes tests
|
name: Run Kubernetes tests
|
||||||
command: |
|
command: |
|
||||||
cd ~/go/src/${CIRCLE_PROJECT_USERNAME}/ci/test/kubernetes
|
cd ~/go/src/${CIRCLE_PROJECT_USERNAME}/ci/test/kubernetes
|
||||||
GO111MODULE=on go test -v ./...
|
go test -v ./...
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
|
|||||||
Reference in New Issue
Block a user