Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up CI services #45

Merged
merged 1 commit into from
May 30, 2017
Merged

Set up CI services #45

merged 1 commit into from
May 30, 2017

Conversation

addaleax
Copy link
Member

@addaleax addaleax commented May 21, 2017

Run for this PR:

Notably, builds are currently failing on Node 4 or 6 on macOS with:

/Users/travis/build/addaleax/node-api/src/../napi.h:6:10: fatal error: 'initializer_list' file not found

Everything else is green, though.

(Coverage doesn’t seem to be working quite yet but that might just be because tests are failing.)

@kkoopa
Copy link

kkoopa commented May 21, 2017

Looks nice

- rm -rf ~/.nvm
- git clone --branch v0.33.2 https://github.com/creationix/nvm.git ~/.nvm
- source ~/.nvm/nvm.sh
- nvm install "$TRAVIS_NODE_VERSION"
Copy link
Member

@jasongin jasongin May 21, 2017

Choose a reason for hiding this comment

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

I'd suggest using nvs instead so that Node-ChakraCore can be included in the matrix. Also maybe the latest Node-V8 nightly build. See https://github.com/jasongin/nvs/blob/master/doc/CI.md

Or I can make that change later.

- export CFLAGS="$CFLAGS -O3 --coverage" LDFLAGS="$LDFLAGS --coverage"
- echo "CFLAGS=\"$CFLAGS\" LDFLAGS=\"$LDFLAGS\""
install:
- npm install $NPMOPT
Copy link
Member

@jasongin jasongin May 21, 2017

Choose a reason for hiding this comment

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

The npm install is not really needed, since after #44 there are no package dependencies. But I guess we could keep it in case any dependencies are added in the future?

@jasongin
Copy link
Member

@boingoing You recently encountered that problem with initializer_list on Mac, right? Did updating the Mac build tools resolve the issue?

@jasongin
Copy link
Member

I fixed the initializer_list error on Mac here: #46

Copy link
Member

@jasongin jasongin left a comment

Choose a reason for hiding this comment

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

This is a good start. I can add Node 8.x and Node-ChakraCore later, using NVS.

@jasongin
Copy link
Member

I'm going to go ahead and merge this, so I can do some more work on top of it.

@jasongin jasongin merged commit a408d10 into nodejs:master May 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants