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

susam / texme / 59 / 2
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: 1.0.0
DEFAULT BRANCH: master
Ran 29 May 2019 11:22AM UTC
Files 1
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

29 May 2019 06:29AM UTC coverage: 100.0%. Remained the same
59.2

push

travis-ci-com

susam
Replace Node.js v7 with v8 in the build matrix

The new version of `ws` package, i.e., `ws 7.0.0` uses object spread
syntax which is not supported in Node v7. This package is installed as a
dependency of the `jsdom` package which we depend on.

`ws 6.2.1` [did not use the object spread syntax][1], so the Travis CI
builds for this project used to run fine with Node v7.

`ws 7.0.0` [does use the object spread syntax][2], so the Travis CI
builds for this project fails with Node v7 now. The following error
occurs:

    $ npm test

    > texme@0.7.0 test /home/travis/build/susam/texme
    > standard && mocha

    /home/travis/build/susam/texme/node_modules/ws/lib/websocket.js:347
          ...options
          ^^^
    SyntaxError: Unexpected token ...

The object spread syntax is [available since][3] Node.js v8.60 only.
Therefore, resolve this issue by updating the Travis CI build matrix to
use Node.js v8 instead of v7.

[1]: https://github.com/websockets/ws/blob/6.2.1/lib/websocket.js#L347
[2]: https://github.com/websockets/ws/blob/7.0.0/lib/websocket.js#L347
[3]: https://node.green/

29 of 29 branches covered (100.0%)

Branch coverage included in aggregate %.

110 of 110 relevant lines covered (100.0%)

13.12 hits per line

Source Files on job 59.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 57
  • Travis Job 59.2
  • a10cd20d on github
  • Prev Job for on ci (#58.1)
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