mirror of
https://github.com/spf13/cobra
synced 2025-05-06 05:17:21 +00:00
chore(travis): move 'diff' job to separate stage in Travis (#839)
This commit is contained in:
parent
ee67eb4422
commit
1820a06c59
1 changed files with 6 additions and 1 deletions
|
@ -1,11 +1,16 @@
|
||||||
language: go
|
language: go
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- diff
|
||||||
|
- test
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- go: 1.11.x
|
- go: 1.11.x
|
||||||
- go: 1.12.x
|
- go: 1.12.x
|
||||||
- go: tip
|
- go: tip
|
||||||
- go: 1.12.x
|
- stage: diff
|
||||||
|
go: 1.12.x
|
||||||
script: diff -u <(echo -n) <(gofmt -d -s .)
|
script: diff -u <(echo -n) <(gofmt -d -s .)
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- go: tip
|
- go: tip
|
||||||
|
|
Loading…
Add table
Reference in a new issue