version: 2
jobs:
  build:
    docker:
      - image: circleci/golang:2.0
    working_directory: /go/src/github.com/codelingo/codelingo
    steps:
      - checkout
      - run: go get -u github.com/golang/dep/cmd/dep
      - run: dep ensure -v
      - run: go test $(go list ./... 2>/dev/null  | grep -v /tenets/ | grep -v /vendor)

version: 2
jobs:
  build:
    docker:
      - image: circleci/golang:1.10
    working_directory: /go/src/github.com/codelingo/codelingo
    steps:
      - checkout
      - run: go get -u github.com/golang/dep/cmd/dep
      - run: dep ensure -v
      - run: go test $(go list ./... 2>/dev/null  | grep -v /tenets/ | grep -v /vendor)

Revert "Upgrade to CircleCI 2.0"
Revert "Upgrade to CircleCI 2.0"

This reverts commit e826f115924329c6793b8eb0eb930e9d2d7a8c18.
