Skip to content

Commit

Permalink
Merge branch 'rimenes-travis-ci'
Browse files Browse the repository at this point in the history
  • Loading branch information
Luciano authored and Luciano committed Jan 25, 2015
2 parents c69d708 + 5b753c1 commit 47f9ed0
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 174 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.0-p353
2.1.5
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
language: ruby
rvm:
- 2.0.0

before_script:
- cp config/database.travis.yml config/database.yml
- bundle exec rake db:create db:migrate db:test:prepare

# uncomment this line if your project needs to run something other than `rake`:
# script: bundle exec rspec spec
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
source 'https://rubygems.org'
ruby '2.0.0'
ruby '2.1.5'

gem 'rails', '>= 3.2.13'
gem 'jquery-rails'
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[![Build Status](https://travis-ci.org/lucianot/dealbook.svg?branch=master)](https://travis-ci.org/lucianot/dealbook)

[travis]: http://travis-ci.org/lucianot/dealbook

Welcome to Dealbook
===================

Expand Down
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class Application < Rails::Application
# Use SQL instead of Active Record's schema dumper when creating the database.
# This is necessary if your schema can't be completely dumped by the schema dumper,
# like if you have constraints or database-specific column types
config.active_record.schema_format = :ruby
config.active_record.schema_format = :sql

# Enforce whitelist mode for mass assignment.
# This will create an empty whitelist of attributes available for mass-assignment for all models
Expand Down
4 changes: 4 additions & 0 deletions config/database.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
test:
adapter: postgresql
database: travis_ci_test
username: postgres
160 changes: 0 additions & 160 deletions db/schema.rb

This file was deleted.

1 change: 1 addition & 0 deletions db/structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
--

SET statement_timeout = 0;
SET lock_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SET check_function_bodies = false;
Expand Down
11 changes: 0 additions & 11 deletions travis.yml

This file was deleted.

0 comments on commit 47f9ed0

Please sign in to comment.