Skip to content

Commit

Permalink
Merge pull request #221 from CircleCI-Public/go111
Browse files Browse the repository at this point in the history
Upgrade Go to v1.11 and use modules instead of godep
  • Loading branch information
Zachary Scott authored Dec 5, 2018
2 parents d8266a1 + 9d93ca3 commit 1b39312
Show file tree
Hide file tree
Showing 927 changed files with 123 additions and 453,468 deletions.
15 changes: 12 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ orbs:
executors:
go:
docker:
- image: circleci/golang:1.10
working_directory: /go/src/github.com/CircleCI-Public/circleci-cli
- image: circleci/golang:1.11
environment:
CGO_ENABLED: 0

jobs:
test:
Expand All @@ -18,6 +19,8 @@ jobs:
- run: make test
coverage:
executor: go
environment:
CGO_ENABLED: 1
steps:
- checkout
- run: make cover
Expand All @@ -41,11 +44,17 @@ jobs:
lint:
docker:
- image: supinf/gometalinter:latest
working_directory: /go/src/github.com/CircleCI-Public/circleci-cli
environment:
CGO_ENABLED: 0
working_directory: /go/src/github.com/CircleCI-Public/circleci-cli
steps:
- checkout
- run:
name: Install deps to use with gometalinter
command: |
apk --no-cache add --virtual git
go get -u github.com/golang/dep/cmd/dep
dep init
- run: gometalinter ./...

deploy:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ coverage.txt
dist/
docs/
out/
vendor/
.vscode

# Snapcraft Related
Expand Down
Loading

0 comments on commit 1b39312

Please sign in to comment.