File tree Expand file tree Collapse file tree 1 file changed +21
-20
lines changed Expand file tree Collapse file tree 1 file changed +21
-20
lines changed Original file line number Diff line number Diff line change @@ -5,29 +5,30 @@ version: 2
5
5
jobs :
6
6
build :
7
7
docker :
8
- # specify the version
9
8
- 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
20
9
working_directory : /go/src/github.com/dealako/restapi
21
10
steps :
22
11
- checkout
23
12
24
13
# 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
You can’t perform that action at this time.
0 commit comments