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:
68
68
# package & publish
69
69
# ------------------------
70
70
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;
72
72
73
73
# clean-up
74
74
# ------------------------
75
75
76
- - npm run node-pre-gyp clean
76
+ - ./node_modules/.bin/ node-pre-gyp clean
77
77
- node-gyp clean
78
78
79
79
script :
@@ -86,14 +86,14 @@ script:
86
86
- INSTALL_RESULT=0
87
87
- if [[ $PUBLISH_BINARY == true ]]; then INSTALL_RESULT=$(npm install --fallback-to-build=false > /dev/null)$? || true; fi;
88
88
89
- - npm run node-pre-gyp clean
89
+ - ./node_modules/.bin/ node-pre-gyp clean
90
90
91
91
# failure?
92
92
# ------------------------
93
93
# if install returned non zero (errored) then we first unpublish and then
94
94
# call false so travis will bail at this line.
95
95
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;
97
97
- if [[ $INSTALL_RESULT != 0 ]]; then echo "returned $INSTALL_RESULT";false; fi;
98
98
99
99
after_success :
Original file line number Diff line number Diff line change 6
6
"dependencies" : {
7
7
"bindings" : " ^1.5.0" ,
8
8
"nan" : " ^2.12.1" ,
9
- "node-pre-gyp" : " latest "
9
+ "node-pre-gyp" : " ^0.14.0 "
10
10
},
11
11
"os" : [
12
12
" darwin"
You can’t perform that action at this time.
0 commit comments