mirror of
https://github.com/spf13/viper
synced 2025-05-06 04:07:17 +00:00
define custom install to make go modules work
This commit is contained in:
parent
6163a31d56
commit
cfa0e76c89
1 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,3 @@
|
|||
go_import_path: github.com/spf13/viper
|
||||
|
||||
language: go
|
||||
|
||||
env:
|
||||
|
@ -19,6 +17,10 @@ matrix:
|
|||
- go: tip
|
||||
fast_finish: true
|
||||
|
||||
install:
|
||||
- gimme 1.14.x
|
||||
- go mod vendor
|
||||
|
||||
script:
|
||||
- go mod tidy
|
||||
- diff -u <(echo -n) <(gofmt -d .)
|
||||
|
|
Loading…
Add table
Reference in a new issue