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

jstty / yanpm / 30 / 2
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: v1.2.0
DEFAULT BRANCH: master
Ran 07 Apr 2017 06:22PM UTC
Files 2
Run time 0s
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

07 Apr 2017 06:20PM UTC coverage: 91.603% (+1.1%) from 90.458%
30.2

Pull #4

travis-ci

web-flow
(fix) Install modules with post-install scripts

Modules with post-install scripts (e.g. sqlite3, electron) don't output
valid json when using the `--json` flag:

```sh
npm install electron --json 2>/dev/null
```
```
> electron@1.6.2 postinstall /Users/michhart/Desktop/projects/yanpm/node_modules/electron
> node install.js

{
  "name": "yanpm",
  "version": "1.0.0",
  "dependencies": {
    "electron": {
      "version": "1.6.2",
      "from": "electron@latest",
      "resolved": "https://registry.npmjs.org/electron/-/electron-1.6.2.tgz"
    }
  }
}
```

Adding the `--silent` flag will get rid of the postinstall output:

```sh
npm install electron --silent --json 2>/dev/null
```
```
{
  "name": "yanpm",
  "version": "1.0.0",
  "dependencies": {
    "electron": {
      "version": "1.6.2",
      "from": "electron@latest",
      "resolved": "https://registry.npmjs.org/electron/-/electron-1.6.2.tgz"
    }
  }
}
```
Pull Request #4: (fix) Install modules with post-install scripts

179 of 201 branches covered (89.05%)

240 of 262 relevant lines covered (91.6%)

77.91 hits per line

Source Files on job 30.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 30
  • Travis Job 30.2
  • dd3c62d6 on github
  • Prev Job for on dev/v1.0 (#26.5)
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