Skip to content

Commit

Permalink
Merge pull request #573 from restic/fix-osxfuse-travis
Browse files Browse the repository at this point in the history
Fix osxfuse on Travis/darwin
  • Loading branch information
fd0 committed Aug 19, 2016
2 parents 2a2fb74 + bd9f23f commit e934966
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions run_integration_tests.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,14 @@ func (env *TravisEnvironment) Prepare() error {

if runtime.GOOS == "darwin" {
// install the libraries necessary for fuse
if err := run("brew", "update"); err != nil {
return err
}
if err := run("brew", "cask", "install", "osxfuse"); err != nil {
return err
for _, cmd := range [][]string{
{"brew", "update"},
{"brew", "tap", "caskroom/cask"},
{"brew", "cask", "install", "osxfuse"},
} {
if err := run(cmd[0], cmd[1:]...); err != nil {
return err
}
}
}

Expand Down

0 comments on commit e934966

Please sign in to comment.