...
1# Golang CircleCI 2.0 configuration file
2#
3# Check https://circleci.com/docs/2.0/language-go/ for more details
4version: 2
5jobs:
6 build:
7 docker:
8 # specify the version
9 - image: golang
10
11 #### TEMPLATE_NOTE: go expects specific checkout path representing url
12 #### expecting it in the form of
13 #### /go/src/github.com/circleci/go-tool
14 #### /go/src/bitbucket.org/circleci/go-tool
15 working_directory: /go/src/github.com/nozzle/throttler
16 steps:
17 - checkout
18
19 # specify any bash command here prefixed with `run: `
20 - run: go test -coverprofile=coverage.txt -covermode=atomic
21 - run: bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN
22
View as plain text