• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

keybase / go-updater / 519
76%
master: 71%

Build:
Build:
LAST BUILD BRANCH: joshblum/upgrade-go
DEFAULT BRANCH: master
Ran 19 May 2016 11:17PM UTC
Jobs 1
Files 21
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
519

push

travis-ci

gabriel
Use a temp dir to move app before applying update (instead of removing)

Eventhough it's theoretically ok to remove a file executable while it's running,
this is probably safer, especially when there may be underlying OS things like
Gatekeeper doing unknown things.

There could be a scenario in something like an app bundle where if the update applied
and then the app loaded a bundle resource before the restart. This would be
extremely unlikely and probably wouldn't matter since the app would be restarted
but again, probably better to be safe.

This PR creates a temp dir at start of the update which is passed to apply.
At the end of update it is removed (relies on defer).

936 of 1195 relevant lines covered (78.33%)

0.87 hits per line

Jobs
ID Job ID Ran Files Coverage
2 519.2 19 May 2016 11:17PM UTC 0
78.33
Travis Job 519.2
Source Files on build 519
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #519
  • e9faab6f on github
  • Next Build on usetempdir (#521)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc