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

susam / texme / 59
100%
master: 100%

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

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%)

26.24 hits per line

Jobs
ID Job ID Ran Files Coverage
1 59.1 29 May 2019 11:22AM UTC 0
100.0
Travis Job 59.1
2 59.2 29 May 2019 11:22AM UTC 0
100.0
Travis Job 59.2
Source Files on build 59
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #59
  • a10cd20d on github
  • Prev Build on ci (#58)
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