forked from internetee/registry
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:domify/registry
- Loading branch information
Showing
8 changed files
with
61 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
language: ruby | ||
rvm: | ||
- 2.2 | ||
- ruby-head | ||
env: | ||
- DB=postgresql | ||
sudo: false | ||
before_install: | ||
- gem install bundler | ||
- "rm ${BUNDLE_GEMFILE}.lock" | ||
before_script: | ||
- psql -c 'create database registry_test;' -U postgres | ||
- psql -c 'create database registry_whois_test;' -U postgres | ||
- psql -c 'create database registry_api_log_test;' -U postgres | ||
- bundle update | ||
- cp config/application-example.yml config/application.yml | ||
- cp config/secrets-example.yml config/secrets.yml | ||
- cp config/database-travis.yml config/database.yml | ||
- RAILS_ENV=test bundle exec rake db:all:schema:load | ||
- RAILS_ENV=test bundle exec rake db:seed | ||
script: | ||
- RAILS_ENV=test bundle exec rake | ||
cache: bundler | ||
services: | ||
- postgresql | ||
addons: | ||
postgresql: "9.3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,4 +110,7 @@ group :development, :test do | |
|
||
# dev tools | ||
gem 'unicorn' | ||
|
||
# for travis | ||
gem 'rake' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
default: &default | ||
host: localhost | ||
adapter: postgresql | ||
encoding: unicode | ||
pool: 5 | ||
username: postgres | ||
password: | ||
|
||
test: | ||
<<: *default | ||
database: registry_test | ||
|
||
whois_test: | ||
<<: *default | ||
database: registry_whois_test | ||
|
||
api_log_test: | ||
<<: *default | ||
database: registry_api_log_test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters