Add CircleCI config

This commit is contained in:
Manfred Touron 2017-12-04 09:52:30 +01:00
parent f9d450ffaf
commit b0d8180809
2 changed files with 18 additions and 1 deletions

17
.circleci/config.yml Normal file
View file

@ -0,0 +1,17 @@
version: 2
jobs:
build:
docker:
- image: circleci/golang:1.8
# - image: circleci/mysql:9.4
working_directory: /go/src/github.com/moul/sshportal
steps:
- checkout
- run: make install
- run: go get -v -t .
- run: make test
# - run: make integration
- run: go get -u github.com/alecthomas/gometalinter
- run: gometalinter --install
- run: make lint

View file

@ -8,7 +8,7 @@ AES_KEY ?= my-dummy-aes-key
.PHONY: install
install:
go install -ldflags '$(LDFLAGS)' .
go install -v -ldflags '$(LDFLAGS)' .
.PHONY: docker.build
docker.build: