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

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

Build:
Build:
LAST BUILD BRANCH: joshblum/upgrade-go
DEFAULT BRANCH: master
Ran 19 May 2016 11:17PM UTC
Files 21
Run time 2s
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

19 May 2016 11:07PM UTC coverage: 78.326%. First build
519.2

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

Source Files on job 519.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 519
  • Travis Job 519.2
  • e9faab6f on github
  • Next Job for on usetempdir (#521.2)
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