Skip to content

Commit

Permalink
upgrade go to 1.12 (#1458)
Browse files Browse the repository at this point in the history
Signed-off-by: rleungx <rleungx@gmail.com>
  • Loading branch information
rleungx authored and nolouch committed Mar 13, 2019
1 parent 9531e19 commit 59968e1
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ cache:
- $GOPATH/src/github.com/pingcap/pd/.retools

go:
- 1.11.4
- 1.12

script:
- make ci

matrix:
include:
- go: 1.11.4
- go: 1.12
install:
- go get github.com/mattn/goveralls
env:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.11.1-alpine as builder
FROM golang:1.12-alpine as builder
MAINTAINER siddontang

RUN apk add --no-cache \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ PD supports distribution and fault-tolerance by embedding [etcd](https://github.

## Build

1. Make sure [*Go*](https://golang.org/) (version 1.11+) is installed. For development, go 1.11.2+ is required.
1. Make sure [*Go*](https://golang.org/) (version 1.12) is installed.
2. Use `make` to install PD. PD is installed in the `bin` directory.

## Usage
Expand Down
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
jobs:
build:
docker:
- image: golang:1.11.4
- image: golang:1.12
working_directory: /go/src/github.com/pingcap/pd
steps:
- checkout
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module github.com/pingcap/pd

go 1.12

require (
github.com/BurntSushi/toml v0.3.1
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973 // indirect
Expand Down

0 comments on commit 59968e1

Please sign in to comment.