aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2015-03-26 12:11:51 +0000
committerLouise Crow <louise.crow@gmail.com>2015-03-26 12:11:51 +0000
commit7cf82940d5e847a00a06f2567bfbfc95d1e63ea8 (patch)
tree9768fdda418b83204c9dd10a1c0cf7d305a7d6ec
parentffc66bc8bd241b4fd4e261b94d42fb4edf741582 (diff)
parent201c3cbc7e854b9b4b8eb4c22613c9e50ac4ca59 (diff)
Merge remote-tracking branch 'nzherald_github/allow-pull-requests-to-run-travis-tests' into rails-3-develop
-rwxr-xr-xscript/wad4
1 files changed, 3 insertions, 1 deletions
diff --git a/script/wad b/script/wad
index 658ce37ef..98830e4a2 100755
--- a/script/wad
+++ b/script/wad
@@ -330,6 +330,8 @@ class Wad
end
def s3_configure
+ return log "ENV['S3_CREDENTIALS'] not present." unless ENV['S3_CREDENTIALS']
+
Presss.config = {
:region => s3_region,
:bucket_name => s3_bucket_name,
@@ -424,7 +426,7 @@ class Wad
end
def self.setup
- new.setup
+ ENV['S3_CREDENTIALS'] ? new.setup : new.install_bundle
end
end