Skip to content

Commit

Permalink
Make CircleCI great again
Browse files Browse the repository at this point in the history
  • Loading branch information
aliok committed May 31, 2018
1 parent ab8336a commit a35566d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
- run:
name: Install Glide
command: curl https://glide.sh/get | sh
- run:
name: Install Mockery
command: go get github.com/vektra/mockery/.../
- run: make setup
- run: make build_linux

Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ generate:

.PHONY: setup
setup:
glide install --strip-vendor
glide install
mockery -all -inpkg -dir pkg

.PHONY: test
test:
@echo Running tests:
mockery -all -inpkg -dir pkg
GOCACHE=off go test -cover \
$(addprefix $(PKG)/,$(PACKAGES))

Expand Down

0 comments on commit a35566d

Please sign in to comment.