WIP: Testing with pg in travis... Migrate before testing.
This commit is contained in:
@@ -7,4 +7,5 @@ services:
|
||||
- postgresql
|
||||
before_script:
|
||||
- cp config/database.yml.travis config/database.yml
|
||||
- psql -c 'create database travis_ci_test;' -U postgres
|
||||
- psql -c 'create database travis_ci_test;' -U postgres
|
||||
- bundle exec rails db:migrate RAILS_ENV=test
|
||||
|
||||
@@ -64,4 +64,7 @@ Rails.application.configure do
|
||||
|
||||
# Reload everything besides classes
|
||||
config.reload_classes_only_on_change = false
|
||||
|
||||
# Allow console in private networks
|
||||
config.web_console.whitelisted_ips = %w[10.0.0.0/8 172.16.0.0/12 192.168.0.0/16]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user