Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
Fix install of mjpeg-consumer
Browse files Browse the repository at this point in the history
  • Loading branch information
imurchie committed May 7, 2019
1 parent e655ce1 commit 2936115
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ install:
npm i opencv4nodejs > /dev/null 2>&1
kill `cat ping.pid`
- npm install
- npm install --no-save mjpeg-consumer
# on node 12 mjpeg-consumer cannot be installed, but we don't want to error
- npm install --no-save mjpeg-consumer && echo 'done'
script:
- npm run test && npm run e2e-test
after_success:
Expand Down
4 changes: 4 additions & 0 deletions test/mjpeg-e2e-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ const MJPEG_SERVER_PORT = 8589;
const MJPEG_SERVER_URL = `http://localhost:${MJPEG_SERVER_PORT}`;

describe('MJpeg Stream (e2e)', function () {
// TODO: remove when buffertools can handle v12
if (process.version.startsWith('v12')) {
return this.skip();
}

let mJpegServer, stream;

Expand Down

0 comments on commit 2936115

Please sign in to comment.