version: 2

jobs:
  build:
    docker:
      - image: golang:1.12
    working_directory: /go/src/github.com/pingcap/tidb
    steps:
      - checkout
      - run:
          name: "Build & Test"
          command: make dev