FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Ignore npm install failure only for 0.12 · nodegit/nodegit@520825f · GitHub

Repository navigation

Commit 520825f

Browse files
committed
Ignore npm install failure only for 0.12
1 parent 03301fc commit 520825f

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
@@ -78,7 +78,18 @@ before_install:
7878
fi
7979

8080
install:
81-
- npm install || true
81+
- if [[ $NODE_VERSION == "0.12" ]]; then
82+
# node 0.12 is sometimes failing
83+
# with a "Callback called more than once" error
84+
# Despite that error, it seems like modules do get installed correctly,
85+
# and the rest of the build proceeds as normal.
86+
# So we ignore that error, just for node 0.12
87+
# If npm install ever fails in a more significant way,
88+
# the rest of the build should hopefully fail anyway.
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)

Back | FazBrowse Home | New Git URL