add npm script rebuild, always build from source on travis
This commit is contained in:
@@ -26,7 +26,7 @@ before_install:
|
||||
- if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then export LD_LIBRARY_PATH=`mason prefix mesa 10.4.3`/lib:$LD_LIBRARY_PATH; glxinfo; fi
|
||||
|
||||
install:
|
||||
- npm install
|
||||
- npm run-script rebuild
|
||||
|
||||
before_script:
|
||||
# Set the core file limit to unlimited so a core file is generated upon crash
|
||||
|
||||
@@ -33,7 +33,8 @@
|
||||
},
|
||||
"scripts": {
|
||||
"install": "node-pre-gyp install || make",
|
||||
"test": "make test"
|
||||
"test": "make test",
|
||||
"rebuild": "make clean && make"
|
||||
},
|
||||
"gypfile": true,
|
||||
"binary": {
|
||||
|
||||
Reference in New Issue
Block a user