summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-03-05 14:21:46 +0100
committerAzul <azul@leap.se>2013-03-06 12:12:48 +0100
commiteb6cd0962108412fe92ac8ee2d013d22c0e709d4 (patch)
tree7f12cc516a1ac6b9e8261f56f627234396925407
parentdced8579f8e21128e4164b5e27f154afd60edb39 (diff)
restrict couch access to admin
-rw-r--r--.travis.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 5821fda..44da3cb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,4 +2,7 @@ services:
- couchdb
notifications:
email: false
-before_script: "bundle exec rake couchrest:migrate_with_proxies"
+before_script:
+ - "bundle exec rake couchrest:migrate_with_proxies"
+ - 'HOST="http://localhost:5984"'
+ - "curl -X PUT $HOST/_config/admins/anna -d '\"secret\"'"