Skip to content
This repository has been archived by the owner on Jan 20, 2020. It is now read-only.

CircleCI Build Matrix #316

Merged
merged 5 commits into from
May 14, 2018
Merged

CircleCI Build Matrix #316

merged 5 commits into from
May 14, 2018

Conversation

rmm5t
Copy link
Contributor

@rmm5t rmm5t commented May 14, 2018

What does it do?

  • Adds CircleCI build matrix (with node v6, v8, v10)
  • Switched to CircleCI version 2
  • Also runs a lint and prettier sanity test prior to running the standard test suite (for people who might disable the precommit hooks while using lint-staged).

What else do you need to know?

  • Also fixes existing prettier errors

  • Also fixes build on Node 6 (timing and ECONNRESET issues) on OrderbookSync and WebsocketClient

  • prettier is only run against *.js files, because different npm versions mess with package.json & package-lock.json differently (causing the build to unnecessarily fail on different versions).

Related Issues

Screenshots

gdax-node 2018-05-14 12-20-53

/cc @fb55

@rmm5t rmm5t self-assigned this May 14, 2018
@rmm5t rmm5t requested a review from fb55 May 14, 2018 18:20
@rmm5t rmm5t changed the title Circleci build matrix CircleCI Build Matrix May 14, 2018
});
});

server.on('connection', socket => {
socket.send(JSON.stringify({ product_id: 'BTC-USD' }));
socket.on('message', () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find :)

@fb55 fb55 merged commit 906b82d into master May 14, 2018
@fb55 fb55 deleted the circleci-build-matrix branch May 14, 2018 19:12
@fb55
Copy link
Contributor

fb55 commented May 14, 2018

Looks great, thanks a lot!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Improve Build Matrix
2 participants