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

otcshare / iotivity-node / 711 / 12
87%
master: 87%

Build:
Build:
LAST BUILD BRANCH: 1.3.1-0
DEFAULT BRANCH: master
Ran 24 Nov 2016 11:08PM UTC
Files 15
Run time 2s
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

24 Nov 2016 10:50PM UTC coverage: 86.745%. Remained the same
NODE_VERSION=4.5 TEST_SCRIPT=publish-coverage

push

travis-ci

gabrielschulhof
Build: Clean up development files in production and install self as dep

Distinguish between two use cases:
* Development - i.e., clone the repo, run npm install and then test and debug
* Production - install this package as a dependency of another package

In the development use case, we leave the source files, test scripts, and
everything else lying around after npm install completes.

In the production case, we remove absolutely everything that is not needed for
running the addon - tests, source files, headers, and build scripts.

The reason this package must install itself as if it were a dependency of this
repo is to run the test suites on the built-for-production package. This is
done on the CI server, where the first step is npm pack followed by
npm install *tgz. This will cause a built-for-production package to be
installed under node_modules/. The rest of the dependencies are then installed
with npm install --ignore-scripts.

Fixes gh-88
Fixes gh-89

Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com>

589 of 679 relevant lines covered (86.75%)

47.72 hits per line

Source Files on job 711.12 (NODE_VERSION=4.5 TEST_SCRIPT=publish-coverage)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 711
  • Travis Job 711.12
  • 12edca63 on github
  • Prev Job for NODE_VERSION=4.5 TEST_SCRIPT=publish-coverage on maintenance (#709.12)
  • Next Job for NODE_VERSION=4.5 TEST_SCRIPT=publish-coverage on maintenance (#712.12)
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