support travis

This commit is contained in:
Ralf Teusner
2018-08-09 16:31:31 +02:00
parent 592caa1574
commit 8d8fd13733
3 changed files with 34 additions and 1 deletions

View File

@ -32,6 +32,7 @@ before_script:
- cp config/database.yml.travis config/database.yml
- cp config/secrets.yml.travis config/secrets.yml
- cp config/docker.yml.erb.travis config/docker.yml.erb
- cp config/mnemosyne.yml.travis config/mnemosyne.yml
- psql --command='CREATE DATABASE travis_ci_test;' --username=postgres
- bundle exec rake db:schema:load RAILS_ENV=test

View File

@ -1,7 +1,7 @@
# Mnemosyne AMQP sink
common: &common
# AMQP server endpoint
server: <%= ENV['XIKOLO_RABBITMQ_URL'] || 'amqp://localhost' %>
server: amqp://localhost
enabled: false
# Platform identifier to group applications
@ -22,5 +22,8 @@ development:
test:
enabled: false
staging:
<<: *common
production:
<<: *common

View File

@ -0,0 +1,29 @@
# Mnemosyne AMQP sink
common: &common
# AMQP server endpoint
server: amqp://localhost
enabled: false
# Platform identifier to group applications
platform: codeocean
# AMQP exchange name, must be a topic exchange
# exchange: mnemosyne
# Application name, defaults to rails application name
application: app
# Hostname reported with traces, default to machine hostname
# hostname:
development:
<<: *common
test:
enabled: false
staging:
<<: *common
production:
<<: *common