diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2019-03-01 14:36:56 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2019-03-01 14:37:29 -0700 |
commit | 86435a9592087b79d3d33d31fc2c819d4f25d4b9 (patch) | |
tree | d836ac35788be16df43a246b3a4b902114a7df90 | |
parent | Minor iterator refactor; update comment (diff) | |
download | pds-86435a9592087b79d3d33d31fc2c819d4f25d4b9.tar.gz pds-86435a9592087b79d3d33d31fc2c819d4f25d4b9.tar.xz |
Add CircleCI support.
-rw-r--r-- | .circleci/config.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..a507f1f --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,19 @@ +version: 2 +jobs: + build: + docker: + - image: circleci/golang:1.12 + + steps: + - restore_cache: + keys: + - go-mod-v1-{{ checksum "go.sum" }} + + - checkout + + - run: go test -v . + + - save_cache: + key: go-mod-v1-{{ checksum "go.sum" }} + paths: + - "/go/pkg/mod" |