]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Savage builds should not update the S3 cache 15177/head
authorChris Rebert <code@rebertia.com>
Wed, 19 Nov 2014 23:44:43 +0000 (15:44 -0800)
committerChris Rebert <code@rebertia.com>
Thu, 20 Nov 2014 00:01:20 +0000 (16:01 -0800)
.travis.yml

index d1d9dd438dd5130367c287fbfa3ce69a7f6cd762..091e72db7469d95bd446ff58d7baa4bfd6fce430 100644 (file)
@@ -17,8 +17,8 @@ install:
   - ./test-infra/s3_cache.py download npm-modules
   - 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 ] && [ $TWBS_DO_VALIDATOR -ne 0 ]; then ./test-infra/s3_cache.py upload rubygems; fi
+  - if [ "$TRAVIS_REPO_SLUG" != twbs-savage/bootstrap ] && [ "$TWBS_TEST" = core ]; then ./test-infra/s3_cache.py upload npm-modules; fi
+  - if [ "$TRAVIS_REPO_SLUG" != twbs-savage/bootstrap ] && [ "$TWBS_TEST" = validate-html ] && [ $TWBS_DO_VALIDATOR -ne 0 ]; then ./test-infra/s3_cache.py upload rubygems; fi
 env:
   global:
     - JEKYLL_VERSION="2.5.1"