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