Remove env and refactor install to command

Этот коммит содержится в:
Jayson Smith 2020-02-06 20:38:51 -07:00
родитель 2da0f57110
коммит 5fbb84e69c

Просмотреть файл

@ -4,8 +4,6 @@ executors:
exec_go_1_11:
docker:
- image: circleci/golang:1.11.13
environment:
CGO_ENABLED: 0
commands:
vet:
@ -20,6 +18,10 @@ commands:
steps:
- run: test -z "$(go fmt ./...)"
install_cmd:
steps:
- run: GO111MODULE=off go install ./cmd/godog
godog:
description: "Run godog"
steps:
@ -34,9 +36,9 @@ commands:
description: "Run all commands against godog code"
steps:
- checkout
# - vet
# - fmt
- run: GO111MODULE=off go install ./cmd/godog
- vet
- fmt
- install_cmd
- godog
- go_test