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

This commit is contained in:
umarcor 2019-03-18 17:23:22 +01:00
parent ee67eb4422
commit 1820a06c59

View file

@ -1,11 +1,16 @@
language: go
stages:
- diff
- test
matrix:
include:
- go: 1.11.x
- go: 1.12.x
- go: tip
- go: 1.12.x
- stage: diff
go: 1.12.x
script: diff -u <(echo -n) <(gofmt -d -s .)
allow_failures:
- go: tip