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

Nordstrom / serverless-artillery / 477
61%
master: 99%

Build:
Build:
LAST BUILD BRANCH: fix-service-name-bug-#96
DEFAULT BRANCH: master
Ran 30 Mar 2018 10:47PM UTC
Jobs 8
Files 14
Run time 27min
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
477

push

travis-ci

erikerikson
Initial Monitoring CLI Implementation

Implementation and tests of the described capabilities offered via the preliminary aspirational documentation.

index.js:
  . add constants used for monitoring mode.  (file comment content, regular expressions for restoring YAML comments, and a limit to the number of backup file attempts)
  . utility methods:
    . validateService: validates that the service that will be modified, lightly but for absolute requirements of the addition logic
    . addAssets: where all assets are added to the original service
    . splitIgnore/Except - string splitting utilities for compareRestore
    . compareRestore - diff the before and after.  before has the existing comments while after does not while after has the new assets but not the existing comments
    . replaceCommentKeys - collected comment into text insertion
    . writeBackup - iteratively write a backup file until it can be written without conflict
  . modifications:
    . invoke: handle m/monitoring flags, treating them similarly to a/acceptance
  . add monitor command that generates and adds assets to the default or existing serverless.yml
index.spec.js:
  . add tests for modifications and additions in index.js

npm.js:
  . allow installing specific module
npm.spec.js:
  . explicitly install aws-sdk to ensure that a require of the handler can be done (avoid problems like #108)

README.ms: explicitly note the need to deploy the altered serverless.yml

serverless.yml: change double quotes to single quotes (" => ') and update comment with same runtime version as the configuration
taskDef.js: add "mon" and "monitoring" definitions
package.json: add "diff" for use by monitor command
package-lock.json: update

34 of 440 branches covered (7.73%)

Branch coverage included in aggregate %.

163 of 768 relevant lines covered (21.22%)

51.2 hits per line

Jobs
ID Job ID Ran Files Coverage
1 477.1 (NPM_VERSION=2) 30 Mar 2018 11:11PM UTC 0
16.31
Travis Job 477.1
2 477.2 (NPM_VERSION=3) 30 Mar 2018 11:11PM UTC 0
16.31
Travis Job 477.2
3 477.3 (NPM_VERSION=2) 30 Mar 2018 11:11PM UTC 0
16.31
Travis Job 477.3
4 477.4 (NPM_VERSION=3) 30 Mar 2018 11:11PM UTC 0
16.31
Travis Job 477.4
5 477.5 (NPM_VERSION=2) 30 Mar 2018 11:11PM UTC 0
16.31
Travis Job 477.5
6 477.6 (NPM_VERSION=3) 30 Mar 2018 11:14PM UTC 0
16.31
Travis Job 477.6
7 477.7 (NPM_VERSION=2) 30 Mar 2018 11:14PM UTC 0
98.34
Travis Job 477.7
8 477.8 (NPM_VERSION=3) 30 Mar 2018 11:13PM UTC 0
98.34
Travis Job 477.8
Source Files on build 477
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #477
  • 4d60aa4c on github
  • Prev Build on monitoring-mode (#475)
  • Next Build on monitoring-mode (#482)
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