提交 aacc92f5 编写于 作者: M Mislav Marohnić

Merge branch 'forked-ci'

......@@ -11,10 +11,7 @@ rvm:
- 2.0.0
- 2.1.0
notifications:
email:
recipients:
- mislav.marohnic@gmail.com
on_success: never
email: false
env:
global:
- AMAZON_S3_BUCKET=ci-cache
......
......@@ -39,7 +39,7 @@ fi
bundle "$@"
if [ ! -f "$cache_name" ]; then
if [ ! -f "$cache_name" ] && [ -n "$AMAZON_SECRET_ACCESS_KEY" ]; then
echo "Caching \`${bundle_path}' to S3"
tar czf "$cache_name" "$bundle_path"
script/s3-put "$cache_name" "${AMAZON_S3_BUCKET}:${TRAVIS_REPO_SLUG}/${cache_name}"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册