Skip to content

Commit 8579e88

Browse files
author
Ivan Mirić
committed
Remove some hopefully unneeded GOPATH/GO111MODULE env vars from CircleCI
1 parent 336872d commit 8579e88

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.circleci/config.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ jobs:
33
deps:
44
docker:
55
- image: circleci/golang:1.14
6-
environment:
7-
GOPATH: /home/circleci/.go_workspace
86
working_directory: /home/circleci/.go_workspace/src/github.com/loadimpact/k6
97
steps:
108
- checkout
@@ -35,7 +33,7 @@ jobs:
3533
command: |
3634
export PATH="$GOPATH/bin:$PATH"
3735
command -v golangci-lint && exit
38-
GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/golangci-lint@$GOLANGCI_VERSION
36+
go get github.com/golangci/golangci-lint/cmd/golangci-lint@$GOLANGCI_VERSION
3937
- save_cache:
4038
name: Save golangci-lint cache
4139
key: golangci-lint-{{ arch }}-{{ checksum "/tmp/.golangci.version" }}-{{ .Environment.CACHE_VERSION }}
@@ -80,8 +78,6 @@ jobs:
8078
test-prev-golang:
8179
docker:
8280
- image: circleci/golang:1.13
83-
environment:
84-
GOPATH: /home/circleci/.go_workspace
8581
working_directory: /home/circleci/.go_workspace/src/github.com/loadimpact/k6
8682
steps:
8783
- checkout
@@ -90,14 +86,11 @@ jobs:
9086
command: |
9187
go version
9288
export GOMAXPROCS=2
93-
export PATH=$GOPATH/bin:$PATH
9489
go test -p 2 -race -timeout 800s ./...
9590
9691
build-docker-images:
9792
docker:
9893
- image: circleci/golang:1.14
99-
environment:
100-
GOPATH: /home/circleci/.go_workspace
10194
working_directory: /home/circleci/.go_workspace/src/github.com/loadimpact/k6
10295
steps:
10396
- checkout

0 commit comments

Comments
 (0)