version: 2
jobs:
  build:
    docker:
      # CircleCI Go images available at: https://hub.docker.com/r/circleci/golang/
      - image: circleci/golang:1.8

    working_directory: /go/src/github.com/kris-nova/kubicorn

    steps:
      - run:
          name: Install requirements
          command: sudo apt-get update; sudo apt-get install libncurses5-dev

      - checkout
      - run:
          name: Check headers
          command: make check-headers
      - run:
          name: Check go files
          command: make check-code
      - run:
          name: Compile
          command: make compile
      - run:
          name: CI
          command: make ci

Add same test states from Travis to Circle CI
Add same test states from Travis to Circle CI
