Skip to content

Commit dd6b42d

Browse files
committed
Added circleci name/command for pretty output.
1 parent 68c8eb9 commit dd6b42d

File tree

1 file changed

+21
-20
lines changed

1 file changed

+21
-20
lines changed

.circleci/config.yml

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,30 @@ version: 2
55
jobs:
66
build:
77
docker:
8-
# specify the version
98
- image: circleci/golang:1.9
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
209
working_directory: /go/src/github.com/dealako/restapi
2110
steps:
2211
- checkout
2312

2413
# specify any bash command here prefixed with `run: `
25-
- run: sudo apt-get install build-essential checkinstall -y
26-
- run: curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
27-
- run: make clean
28-
- run: make install-deps
29-
- run: make
30-
- run: make test
31-
- run: make analyze
32-
#- run: go get -v -t -d ./...
33-
#- run: go test -v ./...
14+
- run:
15+
name: Update OS
16+
command: sudo apt-get install build-essential checkinstall -y
17+
- run:
18+
name: Install dep
19+
command: curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh && dep version
20+
- run:
21+
name: Clean
22+
command: make clean-all
23+
- run:
24+
name: Install dependencies
25+
command: make install-deps
26+
- run:
27+
name: Build
28+
command: make
29+
- run:
30+
name: Test
31+
command: make test
32+
- run:
33+
name: Analyze
34+
command: make analyze

0 commit comments

Comments
 (0)