Use a more preferred command to enable npm on Node 0.6 in travis.yml.

This commit is contained in:
John-David Dalton
2014-01-12 22:02:11 -08:00
parent a499fdbb13
commit ab62875ab1

View File

@@ -54,7 +54,7 @@ branches:
only:
- master
before_install:
- "[ $TRAVIS_NODE_VERSION != '0.6' ] || npm conf set strict-ssl false"
- "[ $TRAVIS_NODE_VERSION != '0.6' ] || npm config set ca \"\""
- "([ $BUILD == 'legacy' ] || [ $BUILD == 'mobile' ] || [ $BUILD == 'modern' ]) && MAKE=true || true"
- "([ $BUILD == 'compat' ] || [ $BUILD == 'legacy' ]) && COMPAT=true || true"
- "[ $SAUCE_LABS == false ] || npm i ecstatic@\"~0.4.0\" request@\"~2.27.0\" sauce-tunnel@\"~1.1.0\""