mirror of
https://github.com/google/gops.git
synced 2024-11-27 08:31:17 +02:00
40 lines
653 B
YAML
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: /.*/
|