diff options
| author | Chris Rebert <[email protected]> | 2014-05-18 15:50:07 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-05-18 17:20:54 -0700 |
| commit | df9f576583a082ad53afe4d324581c1c92779b23 (patch) | |
| tree | dbc4d6ea71afbc83a8a819d4d89da323766f6ba2 | |
| parent | 1da03a1e734c4b4e5666377045766e1417d1f837 (diff) | |
| download | bootstrap-df9f576583a082ad53afe4d324581c1c92779b23.tar.xz bootstrap-df9f576583a082ad53afe4d324581c1c92779b23.zip | |
Travis: skip RubyGems install+cache when TWBS_DO_VALIDATOR=0
| -rw-r--r-- | .travis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 59ef5fe77..6a778cf74 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 |
