Avoid installing coveralls in travis runs when not needed.

This commit is contained in:
John-David Dalton
2014-01-29 08:55:01 -08:00
parent 8cdd6cd131
commit 369dd98cbe

View File

@@ -57,7 +57,7 @@ before_install:
- "[ $TRAVIS_NODE_VERSION != '0.6' ] || npm config set ca \"\""
- "([ $BUILD == 'compat' ] || [ $BUILD == 'legacy' ]) && COMPAT=true || true"
- "[ $SAUCE_LABS == false ] || npm i ecstatic@\"~0.4.0\" request@\"~2.33.0\" sauce-tunnel@\"~1.1.0\""
- "[ $ISTANBUL == false ] || npm i -g coveralls@\"~2.6.0\" && npm i istanbul@\"~0.2.0\""
- "[ $ISTANBUL == false ] || (npm i -g coveralls@\"~2.6.0\" && npm i istanbul@\"~0.2.0\")"
- "[ $BIN != 'narwhal' ] || (wget https://github.com/280north/narwhal/archive/v0.3.2.zip && sudo unzip v0.3.2 -d /opt/ && rm v0.3.2.zip)"
- "[ $BIN != 'narwhal' ] || (sudo ln -s /opt/narwhal-0.3.2/bin/narwhal /usr/local/bin/narwhal && sudo chmod +x /usr/local/bin/narwhal)"
- "[ $BIN != 'rhino' ] || (sudo mkdir /opt/rhino-1.7R5 && sudo wget -O /opt/rhino-1.7R5/js.jar https://oss.sonatype.org/content/repositories/snapshots/org/mozilla/rhino/1.7R5-SNAPSHOT/rhino-1.7R5-20120629.144839-4.jar)"