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
This commit is contained in:
parent
ce89e15071
commit
2a2175e903
1 changed files with 6 additions and 1 deletions
|
@ -1,11 +1,16 @@
|
|||
language: go
|
||||
|
||||
stages:
|
||||
- diff
|
||||
- test
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- go: 1.10.x
|
||||
- go: 1.11.x
|
||||
- go: tip
|
||||
- go: 1.11.x
|
||||
- stage: diff
|
||||
go: 1.11.x
|
||||
script: diff -u <(echo -n) <(gofmt -d -s .)
|
||||
allow_failures:
|
||||
- go: tip
|
||||
|
|
Loading…
Add table
Reference in a new issue