@@ -12,17 +12,17 @@ function publish() {
1212}
1313
1414# test installing from source
15- npm install --build-from-source
15+ npm install --build-from-source --clang=1
1616npm test
1717
1818publish
1919
2020# now test building against shared sqlite
2121if [[ $( uname -s) == ' Darwin' ]]; then
2222 brew install sqlite
23- npm install --build-from-source --sqlite=$( brew --prefix)
23+ npm install --build-from-source --sqlite=$( brew --prefix) --clang=1
2424else
25- npm install --build-from-source --sqlite=/usr
25+ npm install --build-from-source --sqlite=/usr --clang=1
2626fi
2727npm test
2828
@@ -45,18 +45,20 @@ if [[ $(uname -s) == 'Linux' ]]; then
4545 # enable 32 bit node
4646 export PATH=$( pwd) /node-${NVER} -${platform} -x86/bin:$( pwd) /node-${NVER} -${platform} -ia32/bin:$PATH
4747 fi
48- node -e " console.log(process.arch,process.execPath)"
48+ which node
49+ ls -l $( which node)
50+ # node -e "console.log(process.arch,process.execPath)"
4951 # install 32 bit compiler toolchain and X11
5052 # test source compile in 32 bit mode with internal libsqlite3
51- CC=gcc-4.6 CXX=g++-4.6 npm install --build-from-source
53+ CC=gcc-4.6 CXX=g++-4.6 npm install --build-from-source --clang=1
5254 node-pre-gyp package testpackage
5355 npm test
5456 publish
5557 make clean
5658 # broken for some unknown reason against io.js
5759 if [[ ${NODE_VERSION: 0: 4} != ' iojs' ]]; then
5860 # test source compile in 32 bit mode against external libsqlite3
59- CC=gcc-4.6 CXX=g++-4.6 npm install --build-from-source --sqlite=/usr
61+ CC=gcc-4.6 CXX=g++-4.6 npm install --build-from-source --sqlite=/usr --clang=1
6062 npm test
6163 fi
6264fi
0 commit comments