From: Chris Rebert Date: Sun, 18 May 2014 22:50:07 +0000 (-0700) Subject: Travis: skip RubyGems install+cache when TWBS_DO_VALIDATOR=0 X-Git-Tag: v3.2.0~147^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df9f576583a082ad53afe4d324581c1c92779b23;p=thirdparty%2Fbootstrap.git Travis: skip RubyGems install+cache when TWBS_DO_VALIDATOR=0 --- diff --git a/.travis.yml b/.travis.yml index 59ef5fe779..6a778cf747 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,10 +12,10 @@ before_install: install: - time npm install -g grunt-cli - ./test-infra/s3_cache.py download npm-modules - - if [ "$TWBS_TEST" = validate-html ]; then ./test-infra/s3_cache.py download rubygems; fi + - if [ "$TWBS_TEST" = validate-html ] && [ $TWBS_DO_VALIDATOR -ne 0 ]; then ./test-infra/s3_cache.py download rubygems; fi after_script: - if [ "$TWBS_TEST" = core ]; then ./test-infra/s3_cache.py upload npm-modules; fi - - if [ "$TWBS_TEST" = validate-html ]; then ./test-infra/s3_cache.py upload rubygems; fi + - if [ "$TWBS_TEST" = validate-html ] && [ $TWBS_DO_VALIDATOR -ne 0 ]; then ./test-infra/s3_cache.py upload rubygems; fi env: global: - JEKYLL_VERSION: 1.5.0