This commit is contained in:
c-bata 2018-10-25 21:23:44 +09:00
parent 686353937b
commit e70a1a55e2

@ -17,7 +17,6 @@ jobs:
include: include:
- stage: Lint - stage: Lint
script: script:
- go build ./_example/simple-echo/main.go
- diff <(goimports -d $(find . -type f -name '*.go' -not -path "./vendor/*")) <(echo -n "") - diff <(goimports -d $(find . -type f -name '*.go' -not -path "./vendor/*")) <(echo -n "")
- make lint - make lint
go: "1.11.x" go: "1.11.x"
@ -25,20 +24,8 @@ jobs:
- stage: Build - stage: Build
script: script:
- make build - make build
go:
- "1.11.x"
- tip
- stage: Unit Test - stage: Unit Test
script: script:
- make test - make test
go:
- "1.11.x"
- tip
allow_failures: allow_failures:
- go: tip - go: tip
script:
- go build ./_example/simple-echo/main.go
- diff <(goimports -d $(find . -type f -name '*.go' -not -path "./vendor/*")) <(echo -n "")
- make lint
- make test