[Travis] Checks formatting in Travis.
Add a stage called "check-format" that runs before the fan-out of installcheck-small. While we're at it, also enforce that the full config file is generated from the intent file. This should be fairly quick. On my laptop, the `fmt chk` step takes 3 seconds. (On this backbranch, it actually takes 1 second on my laptop). Care has been taken to add back the matrix syntax in Travis CI config so it's still valid. Also subtle is the explicit mention of the "test" stage in the matrix so as not to lose it in the expansion, as this backbranch effectively doesn't have a build matrix (every "matrix key" has at most one value). Enforcement in Concourse is forthcoming. (cherry picked from commit 54273fdd)
Showing
想要评论请 注册 或 登录