From 1820a06c598c93a882c0658bc9515f7d9cd49cb7 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 (#839) --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a8d5ce4d..80f05542 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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