mirror of
https://github.com/moul/sshportal.git
synced 2024-11-10 17:26:41 +08:00
Add CircleCI config
This commit is contained in:
parent
f9d450ffaf
commit
b0d8180809
2 changed files with 18 additions and 1 deletions
17
.circleci/config.yml
Normal file
17
.circleci/config.yml
Normal 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
|
2
Makefile
2
Makefile
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue