forked from TrueCloudLab/restic
Use relocated command folders in build.go and run_integration_tests.go
The resulting command structure is almost compatible to that of that gb reference project (example-gsftp), as the subfolder for commands is 'cmds' instead of 'cmd'.
This commit is contained in:
parent
442780f214
commit
ee494ab939
2 changed files with 10 additions and 6 deletions
|
@ -171,7 +171,7 @@ func (env *TravisEnvironment) RunTests() {
|
|||
"-arch", strings.Join(env.goxArch, " "),
|
||||
"-tags", tags,
|
||||
"-output", "/tmp/{{.Dir}}_{{.OS}}_{{.Arch}}",
|
||||
"restic/cmd/restic")
|
||||
"cmds/restic")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -192,7 +192,7 @@ func (env *TravisEnvironment) RunTests() {
|
|||
}
|
||||
|
||||
// run the tests and gather coverage information
|
||||
runWithEnv(envWithGOPATH, "gotestcover", "-coverprofile", "all.cov", "restic/...")
|
||||
runWithEnv(envWithGOPATH, "gotestcover", "-coverprofile", "all.cov", "cmds/...", "restic/...")
|
||||
|
||||
runGofmt()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue