forked from mirror/afero
Build and test CI improvements
This commit is contained in:
parent
6c364fcc86
commit
72d3215259
|
@ -0,0 +1,2 @@
|
||||||
|
sftpfs/file1
|
||||||
|
sftpfs/test/
|
|
@ -2,8 +2,8 @@ sudo: false
|
||||||
language: go
|
language: go
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.9
|
- "1.13"
|
||||||
- "1.10"
|
- "1.14"
|
||||||
- tip
|
- tip
|
||||||
|
|
||||||
os:
|
os:
|
||||||
|
@ -16,6 +16,6 @@ matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- go build
|
- go build -v ./...
|
||||||
- go test -race -v ./...
|
- go test -count=1 -cover -race -v ./...
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,6 @@ build_script:
|
||||||
|
|
||||||
go get -v github.com/spf13/afero/...
|
go get -v github.com/spf13/afero/...
|
||||||
|
|
||||||
go build github.com/spf13/afero
|
go build -v github.com/spf13/afero/...
|
||||||
test_script:
|
test_script:
|
||||||
- cmd: go test -race -v github.com/spf13/afero/...
|
- cmd: go test -count=1 -cover -race -v github.com/spf13/afero/...
|
||||||
|
|
Loading…
Reference in New Issue