Fix tests on Travis

This commit is contained in:
Alexander Neumann 2018-03-20 20:44:07 +01:00 committed by Zlatko Čalušić
parent 4019e3f45e
commit cda126a99c
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@ install:
script:
- go install
- go test -v .
- go test -v ./...
- go run build.go -v -T
- diff <(goimports -d *.go) <(printf "")

View file

@ -49,7 +49,7 @@ var config = Config{
Name: "rest-server", // name of the program executable and directory
Namespace: "github.com/restic/rest-server", // subdir of GOPATH, e.g. "github.com/foo/bar"
Main: "github.com/restic/rest-server/cmd/rest-server", // package name for the main package
Tests: []string{"github.com/restic/rest-server"}, // tests to run
Tests: []string{"github.com/restic/rest-server/..."}, // tests to run
MinVersion: GoVersion{Major: 1, Minor: 7, Patch: 0}, // minimum Go version supported
}