Skip to content
This repository was archived by the owner on Jan 22, 2019. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
language: ruby
rvm:
- 2.1.0
before_script:
- cp config/database.yml.travis config/database.yml
- psql -c 'create database "dmarc-reporter-test";' -U postgres
script:
- bundle exec rake db:migrate
- bundle exec rspec spec
35 changes: 26 additions & 9 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,51 @@ source 'http://rubygems.org'

gem 'kaminari'
gem 'nokogiri'
gem 'rails', '3.2.7'
gem 'rails', '4.2.0'
gem 'rubyzip'
gem 'thin'
gem 'airbrake'

# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'uglifier'
end
gem 'sass-rails', '~> 5.0'
gem 'uglifier', '>= 1.3.0'

# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'

group :development do
gem 'bullet'
gem 'rails_best_practices'
end

group :development, :test do
gem 'rspec-rails'
gem 'mysql2'
end

group :production do
group :production, :test do
gem 'pg'
end

group :test do
gem 'rspec-rails'
gem 'capybara'
gem 'factory_girl_rails'
gem 'shoulda-matchers'
gem "database_cleaner"
end

gem 'pry-rails'

group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger
# console
gem 'byebug'
#
# Access an IRB console on exception pages or by using <%= console %> in
# views
gem 'web-console', '~> 2.0'
#
# Spring speeds up development by keeping your application running
# in the background. Read more: https://github.com/rails/spring
gem 'spring'
end

Loading