From 1610f6e1d738b4dfaec1289c4f5b99bff1b1d4d2 Mon Sep 17 00:00:00 2001 From: Liam Galvin Date: Sun, 21 Oct 2018 10:51:24 +0100 Subject: [PATCH] add circle-ci --- .circleci/config.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..0e3b7ad --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,25 @@ +# Golang CircleCI 2.0 configuration file +# +# Check https://circleci.com/docs/2.0/language-go/ for more details +version: 2 +jobs: + build: + docker: + # specify the version + - image: circleci/golang:latest + + # Specify service dependencies here if necessary + # CircleCI maintains a library of pre-built images + # documented at https://circleci.com/docs/2.0/circleci-images/ + # - image: circleci/postgres:9.4 + + #### TEMPLATE_NOTE: go expects specific checkout path representing url + #### expecting it in the form of + #### /go/src/github.com/circleci/go-tool + #### /go/src/bitbucket.org/circleci/go-tool + working_directory: /go/src/github.com/liamg/raft + steps: + - checkout + + # specify any bash command here prefixed with `run: ` + - run: go test -v ./... \ No newline at end of file