chore(travis): move 'diff' job to separate stage in Travis

This commit is contained in:
umarcor 2019-03-18 17:23:22 +01:00
parent ce89e15071
commit 2a2175e903

View file

@ -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