Merged in circleci (pull request #55)

circle: add testing configuration

Approved-by: kortschak <dan@kortschak.io>
This commit is contained in:
kortschak 2018-09-10 11:30:28 +00:00
commit 7f2d4db03d
1 changed files with 27 additions and 0 deletions

27
.circlci/config.yml Normal file
View File

@ -0,0 +1,27 @@
version: 2
jobs:
build:
docker:
# CircleCI Go images available at: https://hub.docker.com/r/circleci/golang/
- image: circleci/golang:1.11
working_directory: /go/src/bitbucket.org/ausocean/av
environment:
TEST_RESULTS: /tmp/test-results
steps:
- checkout
- restore_cache:
keys:
- v1-pkg-cache
- run: go get -u ./...
- run: go build ./...
- save_cache:
key: v1-pkg-cache
paths:
- "/go/pkg"