summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorazul <azul@riseup.net>2013-03-14 07:36:54 -0700
committerazul <azul@riseup.net>2013-03-14 07:36:54 -0700
commit869ba2f363a48d0f76321efc08a228f54aeb6758 (patch)
tree00944b79cd5abb5058ac2ea432c32ea433b1aebd /.travis.yml
parent886585a0f673e0ea70abb99504ff9c70180361d5 (diff)
parent1f874dc62e0d0add285f6ab5ff1b6d8fccaa1912 (diff)
Merge pull request #37 from azul/feature/migration-flow
Migration flow for couch db
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 6b9a119..232467c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,3 +2,9 @@ services:
- couchdb
notifications:
email: false
+before_script:
+ - "test/setup_couch.sh"
+ - "mv test/config/couchdb.yml.admin config/couchdb.yml"
+ - "bundle exec rake couchrest:migrate_with_proxies"
+ - "bundle exec rake couchrest:migrate_with_proxies" # looks like this needs to run twice
+ - "mv test/config/couchdb.yml.user config/couchdb.yml"