From b0d8180809ebda6ed5cf4fbcc24d6955a672a860 Mon Sep 17 00:00:00 2001 From: Manfred Touron Date: Mon, 4 Dec 2017 09:52:30 +0100 Subject: [PATCH] Add CircleCI config --- .circleci/config.yml | 17 +++++++++++++++++ Makefile | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..2595ac6 --- /dev/null +++ b/.circleci/config.yml @@ -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 \ No newline at end of file diff --git a/Makefile b/Makefile index f1d63b0..c79fb08 100644 --- a/Makefile +++ b/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: