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

xolox / python-npm-accel / 8
91%

Build:
DEFAULT BRANCH: master
Ran 16 Sep 2016 02:00PM UTC
Jobs 4
Files 2
Run time 1min
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
8

Pull #1

travis-ci

web-flow
Fix calling node/nodejs binary in `nodejs_version`

- The primary nodejs executable being called
  `nodejs` is a Debian-ism, and is not compatible
  with upstream nodejs and non-Debian distros,
  because upstream just calls the binary `node`.

- This makes the `node_version` method fail
  on non-Debian systems, where `nodejs` is
  actually called `node` instead.

- Instead of just executing the `nodejs` command,
  we now first search for it in `PATH`, using
  `distutils.spawn.find_executable`, which
  should be available on Python 2.4+.

- When no node executable is found,
  a NodeBinaryNotFoundError is now raised.

- If one of the node executables is found,
  we return the result of `node/nodejs --version`
  as before.
Pull Request #1: Fix calling node/nodejs binary in `nodejs_version`

9 of 9 new or added lines in 2 files covered. (100.0%)

240 of 257 relevant lines covered (93.39%)

3.74 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
100.0
npm_accel/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 8.1 16 Sep 2016 02:01PM UTC 0
93.39
Travis Job 8.1
2 8.2 16 Sep 2016 02:00PM UTC 0
93.39
Travis Job 8.2
3 8.3 16 Sep 2016 02:00PM UTC 0
93.39
Travis Job 8.3
4 8.4 16 Sep 2016 02:00PM UTC 0
93.39
Travis Job 8.4
Source Files on build 8
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8
  • Pull Request #1
  • PR Base - master (#7)
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