av/.circleci/config.yml

34 lines
705 B
YAML
Raw Permalink Normal View History

2022-05-31 08:17:06 +03:00
version: 2
jobs:
build:
docker:
# CircleCI Go images available at: https://hub.docker.com/r/cimg/go
- image: cimg/go:1.18
2022-05-31 08:17:06 +03:00
environment:
GO111MODULE: "on"
working_directory: ~/go/src/bitbucket.org/ausocean/av
2022-05-31 08:17:06 +03:00
environment:
TEST_RESULTS: /tmp/test-results
steps:
- checkout
- run: git clone --depth=1 https://bitbucket.org/ausocean/test.git ${GOPATH}/src/bitbucket.org/ausocean/test
- restore_cache:
keys:
- v1-pkg-cache
- run: go get -d -t -v ./...
- run: go build -v ./...
2022-05-31 08:17:06 +03:00
- run: go test -v ./...
2022-05-31 08:17:06 +03:00
- save_cache:
key: v1-pkg-cache
paths:
- "/go/pkg"