mirror of
https://github.com/spf13/cobra
synced 2025-05-06 05:17:21 +00:00
chore(travis): use language configuration list instead of explicit entries in matrix.include (#839)
This commit is contained in:
parent
1820a06c59
commit
9a856c2701
1 changed files with 8 additions and 5 deletions
13
.travis.yml
13
.travis.yml
|
@ -4,16 +4,19 @@ stages:
|
||||||
- diff
|
- diff
|
||||||
- test
|
- test
|
||||||
|
|
||||||
|
go:
|
||||||
|
- 1.10.x
|
||||||
|
- 1.11.x
|
||||||
|
- 1.12.x
|
||||||
|
- tip
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
allow_failures:
|
||||||
- go: 1.11.x
|
|
||||||
- go: 1.12.x
|
|
||||||
- go: tip
|
- go: tip
|
||||||
|
include:
|
||||||
- stage: diff
|
- stage: diff
|
||||||
go: 1.12.x
|
go: 1.12.x
|
||||||
script: diff -u <(echo -n) <(gofmt -d -s .)
|
script: diff -u <(echo -n) <(gofmt -d -s .)
|
||||||
allow_failures:
|
|
||||||
- go: tip
|
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
|
|
Loading…
Add table
Reference in a new issue