av/.circleci/config.yml

32 lines
672 B
YAML
Raw Normal View History

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
2019-02-10 01:38:00 +03:00
- run: git clone --depth=1 https://bitbucket.org/ausocean/test.git ${GOPATH}/src/bitbucket.org/ausocean/test
- restore_cache:
keys:
- v1-pkg-cache
2018-09-10 14:37:10 +03:00
- run: go get -d -t -v ./...
- run: go build -v ./...
- run: go test -v ./...
- save_cache:
key: v1-pkg-cache
paths:
- "/go/pkg"