aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2019-10-05 10:48:51 +0100
committerGravatar GitHub <noreply@github.com> 2019-10-05 10:48:51 +0100
commitf1415e85738911700d6cbd5156f52cef77404ae0 (patch)
tree61289c258e2c0b729f23b9c8c639ec95036bef26
parent62d60023236b018419891dad1d6a7a1b37331ed7 (diff)
downloadcoredns-f1415e85738911700d6cbd5156f52cef77404ae0.tar.gz
coredns-f1415e85738911700d6cbd5156f52cef77404ae0.tar.zst
coredns-f1415e85738911700d6cbd5156f52cef77404ae0.zip
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>
-rw-r--r--.circleci/config.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index c0735ddc5..6bfb2d013 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -13,7 +13,8 @@ initWorkingDir: &initWorkingDir
GOROOT=$(go env GOROOT)
sudo rm -r $(go env 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
machine:
@@ -55,7 +56,7 @@ jobs:
name: Run Kubernetes tests
command: |
cd ~/go/src/${CIRCLE_PROJECT_USERNAME}/ci/test/kubernetes
- GO111MODULE=on go test -v ./...
+ go test -v ./...
workflows:
version: 2