mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Add travis config (cherry picked from commite3fdb12289) Only build on Ruby 1.9.3 (cherry picked from commit719ef386bf) Exclude pry from CI build (cherry picked from commitd60935c800) Conflicts: Gemfile Attempt 2 (cherry picked from commit2b19253895) Conflicts: Gemfile.lock Configure travis for postgres (cherry picked from commit3a441cd7d9) Fix migrations that fail because of coupling to changed/removed models (cherry picked from commitb030793f15) Set up xvfb for Travis (cherry picked from commitcdc3ab09a1) Add a failing test to test travis (cherry picked from commit72aa8fe5e5) Revert "Add a failing test to test travis" This reverts commit72aa8fe5e5. (cherry picked from commitbd5533e2b1) Add simplecov (cherry picked from commit5089d3bb22) Conflicts: Gemfile.lock Add turbo sprockets for faster asset precompile (cherry picked from commit3e6c56a638) Remove spork (cherry picked from commited7bded642) Conflicts: spec/spec_helper.rb Remove more spork-specific things, remove unused cuc config from zeus (cherry picked from commitfa11ff8982) Ensure order decorator is required, fix test fragility (cherry picked from commit1e94f88c5e)
13 lines
406 B
Ruby
Executable File
13 lines
406 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
|
|
|
if ENV['RAILS_ENV'] == 'test'
|
|
require 'simplecov'
|
|
SimpleCov.start 'rails'
|
|
puts "required simplecov"
|
|
end
|
|
|
|
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
|
require File.expand_path('../../config/boot', __FILE__)
|
|
require 'rails/commands'
|