From b70ba3f78f94e98ea87f5a11d0a7d7f2c1ddd5ff Mon Sep 17 00:00:00 2001 From: Jay Pipes Date: Wed, 18 Dec 2019 12:06:30 -0500 Subject: [PATCH] configure CircleCI for build+test Adds a .circleci/config.yml file that will be used to house the complex workflows we want to use for automated functional e2e testing. Issue #686 --- .circleci/config.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000000..5778c54b3b --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,29 @@ +version: 2 +jobs: + build: + docker: + - image: golang:1.12-stretch + + working_directory: /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}} + environment: + GO111MODULE: "on" + steps: + - checkout + - run: make build-linux + test: + docker: + - image: golang:1.12-stretch + + working_directory: /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}} + environment: + GO111MODULE: "on" + steps: + - checkout + - run: make unit-test + +workflows: + version: 2 + build-and-test: + jobs: + - build + - test