From 2a2175e903b1733eb05324a54f1cad39c80d8c60 Mon Sep 17 00:00:00 2001 From: umarcor Date: Mon, 18 Mar 2019 17:23:22 +0100 Subject: [PATCH] chore(travis): move 'diff' job to separate stage in Travis --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6c7b0738..3c4fc138 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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