File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -68,12 +68,12 @@ before_script:
6868 # package & publish
6969 # ------------------------
7070
71- - if [[ $PUBLISH_BINARY == true ]]; then npm run node-pre-gyp package publish; fi;
71+ - if [[ $PUBLISH_BINARY == true ]]; then ./node_modules/.bin/ node-pre-gyp package publish; fi;
7272
7373 # clean-up
7474 # ------------------------
7575
76- - npm run node-pre-gyp clean
76+ - ./node_modules/.bin/ node-pre-gyp clean
7777 - node-gyp clean
7878
7979script :
@@ -86,14 +86,14 @@ script:
8686 - INSTALL_RESULT=0
8787 - if [[ $PUBLISH_BINARY == true ]]; then INSTALL_RESULT=$(npm install --fallback-to-build=false > /dev/null)$? || true; fi;
8888
89- - npm run node-pre-gyp clean
89+ - ./node_modules/.bin/ node-pre-gyp clean
9090
9191 # failure?
9292 # ------------------------
9393 # if install returned non zero (errored) then we first unpublish and then
9494 # call false so travis will bail at this line.
9595
96- - if [[ $INSTALL_RESULT != 0 ]]; then npm run node-pre-gyp unpublish; fi;
96+ - if [[ $INSTALL_RESULT != 0 ]]; then ./node_modules/.bin/ node-pre-gyp unpublish; fi;
9797 - if [[ $INSTALL_RESULT != 0 ]]; then echo "returned $INSTALL_RESULT";false; fi;
9898
9999after_success :
Original file line number Diff line number Diff line change 66 "dependencies" : {
77 "bindings" : " ^1.5.0" ,
88 "nan" : " ^2.12.1" ,
9- "node-pre-gyp" : " latest "
9+ "node-pre-gyp" : " ^0.14.0 "
1010 },
1111 "os" : [
1212 " darwin"
You can’t perform that action at this time.
0 commit comments