diff --git a/.travis.yml b/.travis.yml index 67d9a9ef5..70508ea5f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,6 +30,7 @@ install: script: - gox -verbose -os "${GOX_OS}" -tags "release" ./cmd/restic + - gox -verbose -os "${GOX_OS}" -tags "debug" ./cmd/restic.debug - go run run_tests.go all.cov - GOARCH=386 RESTIC_TEST_INTEGRATION=0 go test ./... - goveralls -coverprofile=all.cov -service=travis-ci -repotoken "$COVERALLS_TOKEN" || true diff --git a/cmd/restic/cmd_dump.go b/cmd/restic/cmd_dump.go index bf5f8db86..b80e61509 100644 --- a/cmd/restic/cmd_dump.go +++ b/cmd/restic/cmd_dump.go @@ -16,14 +16,14 @@ import ( ) type CmdDump struct { - global *MainOptions + global *GlobalOptions } func init() { _, err := parser.AddCommand("dump", "dump data structures", "The dump command dumps data structures from a repository as JSON documents", - &CmdDump{global: &mainOpts}) + &CmdDump{global: &globalOpts}) if err != nil { panic(err) } diff --git a/debug/debug.go b/debug/debug.go index 4e9094226..a76b66587 100644 --- a/debug/debug.go +++ b/debug/debug.go @@ -12,7 +12,6 @@ import ( "strconv" "strings" "sync" - "syscall" ) var opts struct {