Skip to content

Commit a2de1ea

Browse files
committed
chore(travis): move 'diff' job to separate stage in Travis (spf13#839)
1 parent 93cbd74 commit a2de1ea

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.travis.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
language: go
22

3+
stages:
4+
- diff
5+
- test
6+
37
matrix:
48
include:
59
- go: 1.11.x
610
- go: 1.12.x
711
- go: tip
8-
- go: 1.12.x
12+
- stage: diff
13+
go: 1.12.x
914
script: diff -u <(echo -n) <(gofmt -d -s .)
1015
allow_failures:
1116
- go: tip

0 commit comments

Comments
 (0)