# Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
jobs:
  build:
    docker:
      # specify the version
      - image: circleci/golang:1.9
    working_directory: /go/src/github.com/etherlabs.io/healthcheck
    steps:
      - checkout

      # specify any bash command here prefixed with `run: `
      - run: go get -v -t -d github.com/etherlabs.io/healthcheck
      - run: go test -race -coverprofile=coverage.txt -covermode=atomic
      - run: bash <(curl -s https://codecov.io/bash)

# Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
jobs:
  build:
    docker:
      # specify the version
      - image: circleci/golang:1.9
    working_directory: /go/src/github.com/etherlabs.io/healthcheck
    steps:
      - checkout

      # specify any bash command here prefixed with `run: `
      - run: go get -v -t -d github.com/etherlabs.io/healthcheck
      - run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
      - run: bash <(curl -s https://codecov.io/bash)

Fix go test command in CI to run all tests
Fix go test command in CI to run all tests
