summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-08-08 10:25:54 +0200
committerAzul <azul@riseup.net>2016-08-08 12:13:05 +0200
commitbef746ae7b215db78be088657bbfaf47c774f943 (patch)
tree54189b0db6271de057cef1f88cc78f3bf908fdc0 /.travis.yml
parenta1d62a3a1492ca21e1e1d2344fac88bb4d93f324 (diff)
[ci] setup couch for gitlab
Couch docker image will be available on the host called couchdb. So we use curl to check for it and display the version string. And then we move a couchdb.yml config file into place so the right host will be used.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 4e7aad0..2681951 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,10 +6,10 @@ before_install:
- "gem install bundler --version 1.11.2"
before_script:
- "rm .ruby-version"
- - "mv test/travis/ruby-version .ruby-version"
- - "test/travis/setup_couch.sh"
- - "mv test/config/couchdb.admin.yml config/couchdb.admin.yml"
- - "mv test/config/couchdb.yml config/couchdb.yml"
+ - "mv test/config/travis/ruby-version .ruby-version"
+ - "test/config/travis/setup_couch.sh"
+ - "mv test/config/travis/couchdb.admin.yml config/couchdb.admin.yml"
+ - "mv test/config/travis/couchdb.yml config/couchdb.yml"
- "bundle exec rake RAILS_ENV=test db:rotate"
- "bundle exec rake RAILS_ENV=test db:migrate"
after_script: