Skip to content

Commit

Permalink
ci: add go 1.13.x
Browse files Browse the repository at this point in the history
* circleci: export GO111MODULE=on, add 1.13.x, remove 1.11.x
* travis: add go 1.13.x
  • Loading branch information
umarcor committed Jan 6, 2020
1 parent 2d75916 commit 4fe7dea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Expand Up @@ -8,6 +8,7 @@ references:
run:
name: "All Commands"
command: |
export GO111MODULE=on
mkdir -p bin
curl -Lso bin/shellcheck https://github.com/caarlos0/shellcheck-docker/releases/download/v0.4.6/shellcheck
chmod +x bin/shellcheck
Expand All @@ -21,7 +22,7 @@ references:
jobs:
go-current:
docker:
- image: circleci/golang:1.12
- image: circleci/golang:1.13
working_directory: *workspace
steps:
- checkout
Expand All @@ -31,7 +32,7 @@ jobs:
command: diff -u <(echo -n) <(gofmt -d -s .)
go-previous:
docker:
- image: circleci/golang:1.11
- image: circleci/golang:1.12
working_directory: *workspace
steps:
- checkout
Expand Down
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -6,6 +6,7 @@ stages:

go:
- 1.12.x
- 1.13.x
- tip

env: GO111MODULE=on
Expand All @@ -19,6 +20,6 @@ matrix:
- go: tip
include:
- stage: lint
go: 1.12.x
go: 1.13.x
before_install: curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin latest
script: golangci-lint run -v

0 comments on commit 4fe7dea

Please sign in to comment.