Skip to content

Commit 4fe7dea

Browse files
committed
ci: add go 1.13.x
* circleci: export GO111MODULE=on, add 1.13.x, remove 1.11.x * travis: add go 1.13.x
1 parent 2d75916 commit 4fe7dea

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.circleci/config.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ references:
88
run:
99
name: "All Commands"
1010
command: |
11+
export GO111MODULE=on
1112
mkdir -p bin
1213
curl -Lso bin/shellcheck https://github.com/caarlos0/shellcheck-docker/releases/download/v0.4.6/shellcheck
1314
chmod +x bin/shellcheck
@@ -21,7 +22,7 @@ references:
2122
jobs:
2223
go-current:
2324
docker:
24-
- image: circleci/golang:1.12
25+
- image: circleci/golang:1.13
2526
working_directory: *workspace
2627
steps:
2728
- checkout
@@ -31,7 +32,7 @@ jobs:
3132
command: diff -u <(echo -n) <(gofmt -d -s .)
3233
go-previous:
3334
docker:
34-
- image: circleci/golang:1.11
35+
- image: circleci/golang:1.12
3536
working_directory: *workspace
3637
steps:
3738
- checkout

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ stages:
66

77
go:
88
- 1.12.x
9+
- 1.13.x
910
- tip
1011

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

0 commit comments

Comments
 (0)