diff --git a/.travis.yml b/.travis.yml index e526021a..c17424e5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/config/mnemosyne.yml.example b/config/mnemosyne.yml.example index a747fe73..c9aceeed 100644 --- a/config/mnemosyne.yml.example +++ b/config/mnemosyne.yml.example @@ -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 \ No newline at end of file diff --git a/config/mnemosyne.yml.travis b/config/mnemosyne.yml.travis new file mode 100644 index 00000000..c9aceeed --- /dev/null +++ b/config/mnemosyne.yml.travis @@ -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 \ No newline at end of file