From 04dd1e7eaf17aa516f36080b34e3280149f12581 Mon Sep 17 00:00:00 2001 From: deadprogram Date: Fri, 27 Nov 2020 19:26:50 +0100 Subject: [PATCH] build: add circleci base Signed-off-by: deadprogram --- .circleci/config.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..102e0009 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,19 @@ +version: 2 +jobs: + build: + docker: + # specify the version + - image: circleci/golang:1.15 + + # 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 + + working_directory: /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}} + steps: + - checkout + - run: go test -v -cpu=2 . + - run: go test -v -cpu=2 ./drivers/aio + - run: go test -v -cpu=2 ./drivers/gpio + - run: go test -v -cpu=2 ./drivers/i2c