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:
Fabian Wickborn 2016-02-22 21:03:07 +01:00
parent 442780f214
commit ee494ab939
2 changed files with 10 additions and 6 deletions

View file

@ -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()