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

jstty / yanpm / 30
90%
master: 90%

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

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 30.1 07 Apr 2017 06:22PM UTC 0
91.6
Travis Job 30.1
2 30.2 07 Apr 2017 06:22PM UTC 0
91.6
Travis Job 30.2
3 30.3 07 Apr 2017 06:22PM UTC 0
90.84
Travis Job 30.3
4 30.4 07 Apr 2017 06:22PM UTC 0
90.84
Travis Job 30.4
5 30.5 07 Apr 2017 06:22PM UTC 0
90.84
Travis Job 30.5
Source Files on build 30
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #30
  • 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