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

jstty / yanpm / 29
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: v1.2.0
DEFAULT BRANCH: master
Ran 07 Apr 2017 05:39PM UTC
Jobs 5
Files 2
Run time 17s
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
29

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

180 of 201 branches covered (89.55%)

1 of 1 new or added line in 1 file covered. (100.0%)

240 of 262 relevant lines covered (91.6%)

390.55 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
4
100.0
lib/yanpm.js
Jobs
ID Job ID Ran Files Coverage
1 29.1 07 Apr 2017 05:39PM UTC 0
91.6
Travis Job 29.1
2 29.2 07 Apr 2017 05:39PM UTC 0
91.6
Travis Job 29.2
3 29.3 07 Apr 2017 05:39PM UTC 0
90.84
Travis Job 29.3
4 29.4 07 Apr 2017 05:39PM UTC 0
90.84
Travis Job 29.4
5 29.5 07 Apr 2017 05:39PM UTC 0
90.84
Travis Job 29.5
Source Files on build 29
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #29
  • Pull Request #4
  • PR Base - dev/v1.0 (#26)
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

© 2025 Coveralls, Inc