1
0
mirror of https://github.com/google/gops.git synced 2024-11-24 08:22:25 +02:00
gops/.circleci/config.yml
2020-05-30 09:39:11 +02:00

40 lines
653 B
YAML

version: 2.1
orbs:
go: circleci/go@0.2.0
windows: circleci/windows@2.3.0
executors:
golang:
docker:
- image: circleci/golang:1.12
jobs:
test_linux:
executor: golang
working_directory: /go/src/github.com/google/gops
steps:
- checkout
- run: go test -v ./...
test_windows:
executor: windows/default
working_directory: /go/src/github.com/google/gops
steps:
- checkout
- run: go test -v ./...
workflows:
version: 2
gops:
jobs:
- test_linux:
filters:
tags:
only: /.*/
- test_windows:
filters:
tags:
only: /.*/