Skip to content

Commit

Permalink
build: add circleci base
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed Nov 27, 2020
1 parent 1d36426 commit 04dd1e7
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 04dd1e7

Please sign in to comment.