mirror of https://bitbucket.org/ausocean/av.git
circle: add testing configuration
Initially just test whether we can build.
This commit is contained in:
parent
257544ef3f
commit
88569e39ff
|
@ -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"
|
Loading…
Reference in New Issue