Commit 6903cde5 by Mithgol

Travis CI: rebuild for the node-webkit (version `$NODE_WEBKIT`)

parent 31a11de4
...@@ -64,6 +64,8 @@ script: ...@@ -64,6 +64,8 @@ script:
- if [[ $PUBLISH == true ]]; then node-pre-gyp package publish; fi; - if [[ $PUBLISH == true ]]; then node-pre-gyp package publish; fi;
# install nw-gyp in 32 bit environment if NODE_WEBKIT is not empty # install nw-gyp in 32 bit environment if NODE_WEBKIT is not empty
- if [ "$NODE_WEBKIT" != "" ]; then npm install nw-gyp -g; fi; - if [ "$NODE_WEBKIT" != "" ]; then npm install nw-gyp -g; fi;
# rebuild node-sqlite3 for 32 bit node-webkit target (if NODE_WEBKIT is not empty)
- if [ "$NODE_WEBKIT" != "" ]; then nw-gyp rebuild --target=$NODE_WEBKIT --build-from-source; fi;
- make clean - make clean
# test source compile in 32 bit mode against external libsqlite3 # test source compile in 32 bit mode against external libsqlite3
- if [[ "$platform" == 'linux' ]]; then sudo apt-get -y install libsqlite3-dev:i386; CC=gcc-4.6 CXX=g++-4.6 npm install --build-from-source --sqlite=/usr; npm test; fi - if [[ "$platform" == 'linux' ]]; then sudo apt-get -y install libsqlite3-dev:i386; CC=gcc-4.6 CXX=g++-4.6 npm install --build-from-source --sqlite=/usr; npm test; fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment