From b843652cff5d705452753ec893deefe29cce2697 Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Fri, 14 Jun 2013 17:04:17 +0400 Subject: [PATCH] #188: added .travis.yml --- .travis.yml | 11 +++++++++++ Gemfile | 1 + Gemfile.lock | 1 + config/database.yml.sample | 7 +++++++ 4 files changed, 20 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..dd552c427 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +language: ruby +rvm: + - 1.9.3 +bundler_args: --without development +before_install: + - gem update --system + - gem --version + - cp config/database.yml.sample config/database.yml +branches: + only: + - master \ No newline at end of file diff --git a/Gemfile b/Gemfile index 1eaeef184..c9423e923 100644 --- a/Gemfile +++ b/Gemfile @@ -95,4 +95,5 @@ group :test do gem 'rr', '~> 1.0.4' gem 'shoulda' gem 'mock_redis', '0.6.2' + gem 'rake' end diff --git a/Gemfile.lock b/Gemfile.lock index c2cea5219..dfe789d3c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -449,6 +449,7 @@ DEPENDENCIES rails-backbone (~> 0.7.2) rails3-generators rails3-jquery-autocomplete (~> 1.0.7) + rake rdiscount redcarpet (~> 2.2.2) redhillonrails_core! diff --git a/config/database.yml.sample b/config/database.yml.sample index e49b4c8db..7b27709d7 100644 --- a/config/database.yml.sample +++ b/config/database.yml.sample @@ -6,3 +6,10 @@ production: pool: 5 username: rosa password: rosa + +test: + adapter: postgresql + encoding: unicode + template: template0 + database: rosa_build_test + username: postgres \ No newline at end of file