Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Mar 13, 2015
  1. @mcmire
Commits on Feb 20, 2015
  1. @seanpdoyle

    Cache Bundler on Travis

    seanpdoyle authored
    With Container based CI, public projects can cache the results of
    `bundle install`
Commits on Feb 12, 2015
  1. @mcmire

    Add support for Postgres

    mcmire authored
    When running tests, you can now switch between running them against a
    SQLite or PostgreSQL database. This is accomplished by modifying the
    unit and acceptance tests so that when they generate and load the test
    Rails application, database.yml is replaced with content that will
    configure the database appropriately.
Commits on Feb 11, 2015
  1. @mcmire

    Remove Rubinius and JRuby from .travis.yml

    mcmire authored
    Right now we tell Travis to ignore failed builds against Rubinius or
    JRuby. This has been in place "temporarily" for more than 2 years, so we
    effectively don't test against or support either runtime.
  2. @mcmire

    Tell Travis to only build pushes to master

    mcmire authored
    The rest of the time, it will build changes to PR's.
Commits on Feb 9, 2015
  1. @mcmire

    Add support for Ruby 2.2

    mcmire authored
    Secondary author: Luciano Sousa <ls@lucianosousa.net>
    
    Also, upgrade to rspec-rails 3.2.0 explicitly. (See
    b7fe87a for an explanation of why 3.2.0
    is necessary here.)
  2. @mcmire

    Remove Rails 3.x, Ruby 1.9.2, Ruby 1.9.3

    mcmire authored
    Ruby 1.9.3 will be end-of-lifed on February 23, 2015. We might as well
    remove support for it now.
Commits on Jan 23, 2015
  1. @mcmire
  2. @mcmire

    Add Rails 4.2 to Travis

    mcmire authored
Commits on Nov 19, 2014
  1. @joshk @mcmire

    Use the new beta build env on Travis

    joshk authored mcmire committed
    faster vm boot times
    more cpus
    more ram
    better network
    
    docs coming soon
Commits on Nov 5, 2014
  1. @mcmire

    Add Ruby 2.1.4 to Travis

    mcmire authored
  2. @mcmire
Commits on Oct 21, 2014
  1. @mcmire

    Enable caching

    mcmire authored
Commits on Jul 2, 2014
  1. @mcmire
Commits on Jun 27, 2014
  1. @mcmire

    Use same assertion class as Rails, if loaded

    mcmire authored
    Given this scenario:
    
    * Using Rails 4.1
    * Gemfile has `gem 'shoulda-matchers', require: false`
    * spec_helper has `require 'shoulda/matchers'` following
      `require 'rspec/rails'`
    * Using Spring to run tests
    
    matchers that delegate to assertions in Rails (e.g. `render_template`
    and `route`) will fail in the wrong way if used. They fail because in
    order to use these assertions, we expect that the assertions will
    raise a specific exception, an exception that corresponds to whichever
    test framework that Rails is using. For Rails versions that used
    Test::Unit, this is Test::Unit::AssertionFailedError. For current Rails
    versions, which now use Minitest, this exception is Minitest::Assertion.
    
    The problem is that instead of asking Rails which exception class it's
    using, we are trying to detect this exception class ourselves (for
    cases in which Rails is not being used). This leads to the wrong class
    being detected: when using a Rails version that uses Minitest, we choose
    Test::Unit::AssertionFailedError as the class. This happens using the
    exact scenario above because even though shoulda-matchers is loaded
    after rspec-rails, rspec-rails itself defines
    Test::Unit::AssertionFailedError.
    
    Also add Cucumber tests that confirms this exact scenario works.
Commits on May 21, 2014
  1. @mcmire

    Add missing test dependences to Appraisals

    mcmire authored
    Since as of commit 2748b75, we no
    longer install dependencies inside of the Rails app that is generated
    and used to run all of the tests, we have to require all of the
    dependencies that the app would install inside of the appropriate
    Appraisals.
    
    This was mostly straightforward except for some workarounds with the
    turn gem:
    
    * Rails 3.1 requires two versions of turn depending on which Ruby
      version you're using. On 1.9.2, it uses turn 0.9.2; after 1.9.2, it
      uses ~> 0.9.3. To accommodate this we have to have two versions of the
      Rails 3.1 appraisal which declare the different turn versions.
    * Rails 3.1 also loads the turn gem even if, in the Gemfile for the app,
      turn is declared with `require: false`. This causes a problem while
      running our tests because turn actually requires minitest/autorun,
      which adds a hook so when Ruby exits, Minitest tests are run. Because
      we're already using RSpec, Minitest will try to re-run the `rspec`
      command we ran within a Minitest environment. This will fail since we
      are using RSpec-specific command line options to run the tests.
      Unfortunately there's no way to shut off minitest/autorun after it's
      been required, so we have to monkey-patch Minitest's #run method so
    it's a no-op.
Commits on Apr 8, 2014
  1. @maurogeorge

    Add support to rails 4.1.0

    maurogeorge authored
Commits on Dec 19, 2013
  1. @mcmire

    Add Appraisal for Rails 4.0.1

    mcmire authored
Commits on Dec 3, 2013
  1. @mcmire

    Auto-retry `bundle install` when Travis runs tests

    mcmire authored
    `bundle install` doesn't always work -- sometimes it runs into errors
    making HTTP requests, for whatever reason. This will cause Travis to
    fail which is pretty annoying.
    
    * Travis supplies an executable called `travis_retry` which will
      automatically retry the command up to 3 times before really failing.
      Tell Travis to use this when it runs `bundle install` before it
      runs tests.
    * In spec_helper, we create a Rails app and use this within the
      test suite. This will also run `bundle install`. Unfortunately we
      can't use `travis_retry` for this as it's a function and is not
      available to us in Ruby-land, so use our own retry logic.
Commits on Aug 23, 2013
  1. @MDaubs

    Test Rails 4.0 on Travis CI

    MDaubs authored
Commits on Aug 1, 2013
  1. @drapergeek

    Specify bundle install for travis.

    drapergeek authored
    * Thanks to @sikachu!
    
    Travis will now runs `bundle install --deployment` if it detects that
    the project has `Gemfile.lock`. However, there's a problem in Bundler
    deployment install that cause it not installing `bundler` gem into
    `vendor/bundle` directory, which causes `require 'bundler'` to fail.
Commits on Apr 19, 2013
  1. @derekprior

    Ruby 2.0 Support

    derekprior authored
    * Add Ruby 2.0 support to the Appraisals
    * Update travis to test 2.0.0 with the 3.2 gemfile. Clean up the travis
      matrix to favor the include syntax over exclude.
    * Edit gemfile.locks to point to relative paths.
  2. @derekprior

    Remove traces of 1.8 support

    derekprior authored
    Shoulda Matchers 2.0 removed support for 1.8. This change removes Ruby
    1.8 tests from travis and sets the minimum Ruby version in the gemspec.
Commits on Mar 19, 2013
  1. @croaky
Commits on Dec 3, 2012
  1. @sferik

    Don't test REE [ci skip]

    sferik authored
    Ruby Enterprise Edition has reached its end of life and should be fully
    compatible with MRI 1.8.7. Testing on both is wasting resources. See:
    http://blog.phusion.nl/2012/02/21/ruby-enterprise-edition-1-8-7-2012-02-released-end-of-life-imminent/
Commits on Oct 1, 2012
  1. @gabebw
Commits on May 11, 2012
  1. @sikachu
  2. @sikachu
Commits on Apr 11, 2012
  1. @gabebw
Commits on Mar 2, 2012
  1. @sikachu

    Change rbx-2.0 to rbx-18mode

    sikachu authored
Commits on Sep 18, 2011
  1. @sikachu

    Update set_the_flash_matcher to also duplicate the used set to fix a …

    sikachu authored
    …bug in Rubinius
    
    Tests now also passed on Rubinius 2.0
  2. @sikachu
  3. @sikachu
Commits on Sep 16, 2011
  1. @sikachu
  2. @sikachu
Something went wrong with that request. Please try again.