From 369dd98cbe74f9f6a391ec57b5beda2c8d329d6a Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Wed, 29 Jan 2014 08:55:01 -0800 Subject: [PATCH] Avoid installing coveralls in travis runs when not needed. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9bcc0248d..3d9eabb13 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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)"