support travis
This commit is contained in:
@ -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
|
||||
|
||||
|
@ -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
|
29
config/mnemosyne.yml.travis
Normal file
29
config/mnemosyne.yml.travis
Normal 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
|
Reference in New Issue
Block a user