packer-cn/.circleci/config.yml

27 lines
681 B
YAML
Raw Normal View History

2018-11-14 12:37:31 -05:00
# Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
jobs:
build:
docker:
- image: circleci/golang:1.12
2018-11-14 12:37:31 -05:00
working_directory: /go/src/github.com/hashicorp/packer
steps:
- checkout
2019-02-26 09:25:22 -05:00
- run: make ci
check-vendor-vs-mod:
docker:
- image: circleci/golang:1.12
working_directory: /go/src/github.com/hashicorp/packer
steps:
- checkout
- run: GO111MODULE=on go run . --help
- run: GO111MODULE=on make bin
- run: make check-vendor-vs-mod
workflows:
version: 2
build_and_check_vendor_vs_module:
jobs:
- build
- check-vendor-vs-mod