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

istanbuljs / nyc / 1755 / 8
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 15 Jan 2019 11:01PM UTC
Files 3
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

15 Jan 2019 10:46PM UTC coverage: 96.389%. Remained the same
1755.8

push

travis-ci

Corey Farrell
feat: avoid hardcoded HOME for spawn-wrap working dir (#957)

By default, spawn-wrap writes temporary files to HOME.
It used to be /tmp, but it changed that to HOME to support
environments that have 'noexec' flags set on their tmpfs mount.
Ref https://github.com/tapjs/spawn-wrap/issues/3.

The problem with this is that nyc now no longer works in environments
without a (writable) home directory (e.g. the 'nobody' user on
Linux).

While it is fine to fallback to HOME, it should write elsewhere
if that is unavailable, and ideally in a way that doesn't require
every sysadmin or end-user to hardcode some environment variable
in their package.json specifically for nyc or spawn-wrap.

A common way to communicate this intent is with the XDG_CACHE_HOME
environment variable.

Fixes #951.

118 of 138 branches covered (85.51%)

347 of 360 relevant lines covered (96.39%)

496.66 hits per line

Source Files on job 1755.8
  • Tree
  • List 0
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1614
  • Travis Job 1755.8
  • ff834aa6 on github
  • Prev Job for on master (#1744.4)
  • Next Job for on master (#1758.4)
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