зеркало из https://github.com/mislav/hub.git
Merge branch 'forked-ci'
This commit is contained in:
Коммит
aacc92f5ff
|
@ -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}"
|
||||
|
|
Загрузка…
Ссылка в новой задаче