diff options
author | Chris Rebert <code@rebertia.com> | 2014-04-04 00:18:50 +0400 |
---|---|---|
committer | Chris Rebert <code@rebertia.com> | 2014-04-04 00:44:42 +0400 |
commit | 718a6c5da7e4d6031a8c217b1472d2247374813d (patch) | |
tree | 4ae0c1d82460c5d5a3af486852b7814ce776b7dc /.travis.yml | |
parent | 1759569dbe8d9ebbcfc4bc1b7f87c3fe3e79e4d1 (diff) |
move some caching info+logic out of .travis.yml; fixes #13136
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index b9c051250b..471c864ca6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,11 +8,11 @@ before_install: - if [ "$TWBS_TEST" = validate-html ]; then echo "ruby=$(basename $GEMDIR) jekyll=$JEKYLL_VERSION" > pseudo_Gemfile.lock; fi install: - time npm install -g grunt-cli - - ./test-infra/s3_cache.py download 'npm packages' test-infra/npm-shrinkwrap.canonical.json ./node_modules || time ./test-infra/uncached-npm-install.sh - - if [ "$TWBS_TEST" = validate-html ]; then ./test-infra/s3_cache.py download rubygems pseudo_Gemfile.lock $GEMDIR || time gem install -N jekyll -v $JEKYLL_VERSION; fi + - ./test-infra/s3_cache.py download npm-modules + - if [ "$TWBS_TEST" = validate-html ]; then ./test-infra/s3_cache.py download rubygems; fi after_script: - - if [ "$TWBS_TEST" = core ]; then ./test-infra/s3_cache.py upload 'npm packages' test-infra/npm-shrinkwrap.canonical.json ./node_modules; fi - - if [ "$TWBS_TEST" = validate-html ]; then ./test-infra/s3_cache.py upload rubygems pseudo_Gemfile.lock $GEMDIR; fi + - 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 env: global: - JEKYLL_VERSION: 1.5.0 |