Debian Codegraph @

.circleci/config.yml

raw
1 # Golang CircleCI 2.0 configuration file
2 #
3 # Check https://circleci.com/docs/2.0/language-go/ for more details
4 version: 2
5 jobs:
6 build:
7 docker:
8 # specify the version
9 - image: circleci/golang:latest
10
11 # Specify service dependencies here if necessary
12 # CircleCI maintains a library of pre-built images
13 # documented at https://circleci.com/docs/2.0/circleci-images/
14 # - image: circleci/postgres:9.4
15
16 #### TEMPLATE_NOTE: go expects specific checkout path representing url
17 #### expecting it in the form of
18 #### /go/src/github.com/circleci/go-tool
19 #### /go/src/bitbucket.org/circleci/go-tool
20 working_directory: ~/src/github.com/goombaio/namegenerator
21 steps:
22 - checkout
23
24 # specify any bash command here prefixed with `run: `
25 - run: make deps
26 - run: make dev-deps
27 - run: make test
28 - run: make test-race
29 - run: make cover-profile
30 - run: bash <(curl -s https://codecov.io/bash)
31
32 benchmark:
33 docker:
34 # specify the version
35 - image: circleci/golang:latest
36
37 # Specify service dependencies here if necessary
38 # CircleCI maintains a library of pre-built images
39 # documented at https://circleci.com/docs/2.0/circleci-images/
40 # - image: circleci/postgres:9.4
41
42 #### TEMPLATE_NOTE: go expects specific checkout path representing url
43 #### expecting it in the form of
44 #### /go/src/github.com/circleci/go-tool
45 #### /go/src/bitbucket.org/circleci/go-tool
46 working_directory: ~/src/github.com/goombaio/namegenerator
47 steps:
48 - checkout
49
50 # specify any bash command here prefixed with `run: `
51 - run: make deps
52 - run: make dev-deps
53 - run: make benchmark
54
55 benchmark:
56 docker:
57 # specify the version
58 - image: circleci/golang:latest
59
60 # Specify service dependencies here if necessary
61 # CircleCI maintains a library of pre-built images
62 # documented at https://circleci.com/docs/2.0/circleci-images/
63 # - image: circleci/postgres:9.4
64
65 #### TEMPLATE_NOTE: go expects specific checkout path representing url
66 #### expecting it in the form of
67 #### /go/src/github.com/circleci/go-tool
68 #### /go/src/bitbucket.org/circleci/go-tool
69 working_directory: ~/src/github.com/goombaio/namegenerator
70 steps:
71 - checkout
72
73 # specify any bash command here prefixed with `run: `
74 - run: make deps
75 - run: make dev-deps
76 - run: make lint
77
78 workflows:
79 version: 2
80 workflow:
81 jobs:
82 - build
83 # - benchmarks
84 # - lint