| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2c94641 commit 8d69ff2
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -77,8 +77,19 @@ before_install: | |||
| 77 | 77 | export JOBS=4; | |
| 78 | 78 | fi | |
| 79 | 79 | ||
| 80 | + # node 0.12 is sometimes failing | ||
| 81 | + # with a "Callback called more than once" error | ||
| 82 | + # Despite that error, it seems like modules do get installed correctly, | ||
| 83 | + # and the rest of the build proceeds as normal. | ||
| 84 | + # So we ignore that error, just for node 0.12 | ||
| 85 | + # If npm install ever fails in a more significant way, | ||
| 86 | + # the rest of the build should hopefully fail anyway. | ||
| 80 | 87 | install: | |
| 81 | - - npm install | ||
| 88 | + - if [[ $NODE_VERSION == "0.12" ]]; then | ||
| 89 | + npm install || true; | ||
| 90 | + else | ||
| 91 | + npm install; | ||
| 92 | + fi | ||
| 82 | 93 | ||
| 83 | 94 | # This is a random private key used purely for testing. | |
| 84 | 95 | before_script: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments