build: add circleci base
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
parent
1d36426c32
commit
04dd1e7eaf
|
@ -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
|
Loading…
Reference in New Issue