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

istanbuljs / nyc / 1754
96%
master: 100%

Build:
Build:
LAST BUILD BRANCH: deprecate-uuid@3.x
DEFAULT BRANCH: master
Ran 15 Jan 2019 08:38PM UTC
Jobs 11
Files 3
Run time 28min
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
1754

Pull #957

travis-ci

web-flow
feat: avoid hardcoded HOME for spawn-wrap working dir

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.
Pull Request #957: feat: avoid hardcoded HOME for spawn-wrap working dir

118 of 138 branches covered (85.51%)

347 of 360 relevant lines covered (96.39%)

5140.68 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1754.1 15 Jan 2019 08:43PM UTC 0
96.11
Travis Job 1754.1
2 1754.2 15 Jan 2019 08:38PM UTC 0
96.39
Travis Job 1754.2
3 1754.3 15 Jan 2019 08:43PM UTC 0
96.39
Travis Job 1754.3
4 1754.4 15 Jan 2019 08:44PM UTC 0
96.39
Travis Job 1754.4
5 1754.5 15 Jan 2019 08:48PM UTC 0
96.39
Travis Job 1754.5
6 1754.6 15 Jan 2019 08:48PM UTC 0
96.39
Travis Job 1754.6
7 1754.7 15 Jan 2019 08:48PM UTC 0
96.39
Travis Job 1754.7
8 1754.8 15 Jan 2019 08:54PM UTC 0
96.39
Travis Job 1754.8
9 1754.9 15 Jan 2019 08:55PM UTC 0
96.39
Travis Job 1754.9
10 1754.10 15 Jan 2019 09:03PM UTC 0
96.39
Travis Job 1754.10
11 1754.11 15 Jan 2019 09:06PM UTC 0
96.39
Travis Job 1754.11
Source Files on build 1754
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1754
  • Pull Request #957
  • PR Base - master (#1744)
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