Skip to content

Commit 8d69ff2

Browse files
committed
Ignore npm install failure only for 0.12
Revert "Use npm 2.15.11 with node 0.12" This reverts commit 9503b5c. Revert "Log npm-debug.log after failure" This reverts commit 412ce63. Remove ls attempt Ls purported npm-debug.log location and ignore npm install failure Attempt to cat npm-debug.log after install failure Log npm-debug.log after failure Use npm 2.15.11 with node 0.12
1 parent 2c94641 commit 8d69ff2

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.travis.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,19 @@ before_install:
7777
export JOBS=4;
7878
fi
7979

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.
8087
install:
81-
- npm install
88+
- if [[ $NODE_VERSION == "0.12" ]]; then
89+
npm install || true;
90+
else
91+
npm install;
92+
fi
8293

8394
# This is a random private key used purely for testing.
8495
before_script:

0 commit comments

Comments
 (0)