Skip to content

Commit

Permalink
Add CircleCI integration
Browse files Browse the repository at this point in the history
 Fixes #24
  • Loading branch information
Trevor Rosen committed Jan 14, 2020
1 parent 7e20b8b commit 2c770f8
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: 2.1
jobs:
build:
docker:
- image: circleci/golang:1.13.0
working_directory: /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}}
steps:
- checkout
- run:
name: Install golangci-lint
command: curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -d -b $(go env GOPATH)/bin v1.18.0

- run:
name: Run lint
when: always
command: make lint

- run:
name: Run vet
when: always
command: make vet

- run:
name: Run tests
when: always
command: make test

0 comments on commit 2c770f8

Please sign in to comment.