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

40 lines
653 B
YAML
Raw Normal View History

2020-05-30 09:39:11 +02:00
version: 2.1
orbs:
go: circleci/go@0.2.0
windows: circleci/windows@2.3.0
executors:
golang:
2017-09-04 18:54:58 +02:00
docker:
2020-05-30 09:39:11 +02:00
- image: circleci/golang:1.12
jobs:
test_linux:
executor: golang
2017-09-04 18:54:58 +02:00
working_directory: /go/src/github.com/google/gops
steps:
- checkout
2020-05-30 09:39:11 +02:00
- run: go test -v ./...
test_windows:
executor: windows/default
2017-09-04 18:54:58 +02:00
2020-05-30 09:39:11 +02:00
working_directory: /go/src/github.com/google/gops
steps:
- checkout
2017-09-04 18:54:58 +02:00
- run: go test -v ./...
2020-05-30 09:39:11 +02:00
workflows:
version: 2
gops:
jobs:
- test_linux:
filters:
tags:
only: /.*/
- test_windows:
filters:
tags:
only: /.*/