mirror of
https://github.com/spf13/cobra
synced 2025-05-06 13:27:26 +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
|
language: go
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- diff
|
||||||
|
- test
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- go: 1.10.x
|
- go: 1.10.x
|
||||||
- go: 1.11.x
|
- go: 1.11.x
|
||||||
- go: tip
|
- go: tip
|
||||||
- go: 1.11.x
|
- stage: diff
|
||||||
|
go: 1.11.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