aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-04-25 12:01:52 +0100
committerGareth Rees <gareth@mysociety.org>2014-05-02 14:24:30 +0100
commiteffa1ff12e8d1bdf83a6b67270dadfb6ce86876f (patch)
treeab49cc59c3c616847d2af38c91821685a11d6af8 /.travis.yml
parent0c54aa3bc1bda24fa6cca97e52753a5ea07e7638 (diff)
Use WAD to cache bundles to Amazon S3
https://github.com/Fingertips/WAD
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 4fa23e6cb..dac458608 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,6 +7,11 @@ rvm:
- 1.8.7
- 1.9.3
- 2.0.0
+env:
+ global:
+ - S3_REGION=us-east-1
+ - S3_BUCKET_NAME=alaveteli-bundle-cache
+ - secure: "cbZMhxbih4k2syqykwVprnBBTyD9Rk9pVhwM2W1Oa3Y9QIn79giL2yTUrJi3+bapHHFedWstG1wkLxEalc/Ei1G4vWYDqXiOtdzYR/WMqqCyd8royrkusist+rVcolvZ2dTCu8uvmteQ6sE3/FsoayTlYJmWCNFWhAiWayaai8Q="
before_install:
- gem update --system 2.1.11
- gem install rake --version=0.9.2.2
@@ -21,7 +26,6 @@ before_install:
- sudo apt-get -y install `cut -d " " -f 1 config/packages | egrep -v "(^#|wkhtml|bundler|^ruby$|^ruby1.8$|^rubygems$|^rake)"`
- RAILS_ENV=test ./script/rails-post-deploy
- RAILS_ENV=test ./script/update-xapian-index
-before_script:
notifications:
irc: "irc.freenode.org#alaveteli"
email: