]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Travis: skip RubyGems install+cache when TWBS_DO_VALIDATOR=0
authorChris Rebert <code@rebertia.com>
Sun, 18 May 2014 22:50:07 +0000 (15:50 -0700)
committerChris Rebert <code@rebertia.com>
Mon, 19 May 2014 00:20:54 +0000 (17:20 -0700)
.travis.yml

index 59ef5fe7793ab638a6111bf11166c0c5b2e5afc2..6a778cf747cdd4207c60dc42094d172d43913c30 100644 (file)
@@ -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