Build and test CI improvements

This commit is contained in:
Michail Kargakis 2020-03-27 21:24:09 +01:00
parent 6c364fcc86
commit 72d3215259
No known key found for this signature in database
GPG Key ID: F651AC3AF5C3A13E
4 changed files with 9 additions and 6 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
sftpfs/file1
sftpfs/test/

View File

@ -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 ./...

View File

@ -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/...

1
go.mod
View File

@ -2,6 +2,7 @@ module github.com/spf13/afero
require ( require (
github.com/pkg/sftp v1.10.1 github.com/pkg/sftp v1.10.1
golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586
golang.org/x/text v0.3.0 golang.org/x/text v0.3.0
) )