Commit Graph

79 Commits

Author SHA1 Message Date
Peter Suschlik 49585be858 Disable builds AR-JDBC against master
Currently, bundling `activerecord-jdbc-adapter`'s master branch seems to
be broken. See jruby/activerecord-jdbc-adapter#614

This commit partially reverts #12107
2015-01-22 12:35:03 +01:00
Peter Suschlik 1ac5177e99 Travis: Test on jruby-head only for now
Arel head does not support 1.9 anymore.
2015-01-21 15:43:00 +01:00
Sean Griffin c542677310 Use bundler 1.7 on travis 2015-01-18 12:41:59 -07:00
Guo Xiang Tan be6874fb63 Use parallel bundler install.
Travis recommends a default of 3.
See: http://docs.travis-ci.com/user/languages/ruby/#Default-Test-Script
2015-01-10 00:03:39 +08:00
claudiob d3b098b828 Require Ruby 2.2 for Rails 5.0
Stems from [this comment](https://github.com/rails/rails/pull/18203#issuecomment-68138096) by @robin850
and by the blog post http://weblog.rubyonrails.org/2014/12/19/Rails-4-2-final
2014-12-26 13:53:09 +01:00
Rafael Mendonça França 85990220ab Enable Travis CI container-mode
And also bundler cache
2014-12-18 18:09:58 -02:00
Rafael Mendonça França 4b65d49755 Allow failures for mysql adapter tests 2014-12-02 11:37:36 -02:00
Rafael Mendonça França b599f99281 Allow failures with Active Job integration tests 2014-11-28 18:44:00 -02:00
Rafael Mendonça França 2a6b3e14cf Allow failures with Active Job 2014-11-28 18:42:14 -02:00
Rafael Mendonça França f25ad07f5a Start Rails 5 development 🎉
We will support only Ruby >= 2.1.

But right now we don't accept pull requests with syntax changes to drop
support to Ruby 1.9.
2014-11-28 15:00:06 -02:00
Erik Michaels-Ober 1ed6de2152 Start running railties builds first, since they take the longest finish 2014-10-13 12:42:57 +01:00
Robin Dupret 1fac7b79f3 Follow up to #16613
Since we want this flag to be enabled anytime we are running the tests
under JRuby, let's enable this at the Rakefile level so people get the
performance boost on their local checkout.

Moreover, we avoid having to update this particular line anytime the
option changes on the JRuby side.

The only drawback is that we have to define it in every Rakefile but
there's no big deal, this is already the case for other options.
2014-09-28 12:04:06 +02:00
Rafael Mendonça França 8c6c1dd82e OMG mysql! 2014-09-17 15:21:47 -03:00
Rafael Mendonça França 3d4046fff4 ruby-head should be green
Ruby 2.2 is near to be released so we should support it properly
2014-09-17 15:00:49 -03:00
Cristian Bica 175ba66664 ActiveJob Integration Tests 2014-09-11 00:38:56 +03:00
Jeremy Kemper 749e289554 Ignore segfault build errors with 2.0.0 + mysql-ruby
Continuation of c9a43126c5

😢
2014-09-06 17:16:54 -07:00
Hiro Asari bc1134a514 Add language directive to .travis.yml
Currently, Travis CI assumes that the project is in Ruby in the
absence of the `language` key.
This behavior may change in the future. (For example, switch to a "blank"
image which *may* be created.)
2014-08-27 19:59:16 -04:00
Matthew Draper 2c84512a72 Merge pull request #16613 from splattael/master
Speed up JRuby tests by improving the startup time
2014-08-27 01:07:01 +09:30
Peter Suschlik 1072357223 Speed up JRuby tests by improving its startup time
Emulate `jruby --dev` which improves JRuby's startup time.

See
https://github.com/jruby/jruby/wiki/Improving-startup-time#use-the---dev-flag

Follow @headius' idea and give Java more memory to reduce GC time.
2014-08-25 08:27:22 +02:00
Cristian Bica 7a1dcfc64f Added ActiveJob configuration for travis 2014-08-14 14:52:02 +03:00
Rafael Mendonça França af216b7431 Split Action Pack tests in a new job on travis
This will make easier to compare run time between Ruby 2.1 and trunk
2014-07-23 14:58:59 -03:00
Matthew Draper c9a43126c5 Ignore distressingly-frequent segfaults on this build
Not sure what's causing them suddenly, but it seems unlikely there's
much we can do about it. For the small amount of coverage this
particular job gains us, it's hurting us more, by making CI failures
unremarkable.
2014-06-08 23:42:01 +09:30
Santiago Pastorino 2367dfeb8d Revert "Remove ruby-head from allow_failures matrix"
This reverts commit 5d2d301024.
2014-05-15 11:04:56 -03:00
Santiago Pastorino 5d2d301024 Remove ruby-head from allow_failures matrix 2014-05-15 10:37:30 -03:00
Rafael Mendonça França 290b2795c5 Test with ruby-head to make @tenderlove happy 2014-05-12 21:16:22 -03:00
Zachary Scott f2768b5e59 Only need MINOR version level to test Ruby 2.1.x on Travis
cc http://blog.travis-ci.com/2014-04-28-upcoming-build-environment-updates/
2014-05-09 13:04:50 -07:00
Arthur Neves e019ffad3c Use ruby 2.1.2 on travis 2014-05-09 12:07:16 -04:00
Kamil Kieliszczyk 027aa1cbb4 Remove double declaration of memcache services on travis 2014-04-28 10:08:56 +02:00
Arthur Neves 45195b3135
add services: memcache to travis 2014-04-09 17:06:54 -04:00
Arthur Neves a9a767b69b travis s/2.1.0/2.1.1 2014-02-25 16:08:21 -05:00
Erik Michaels-Ober af66c4697c Update Travis settings for Rubinius
/cc @brixen
2014-02-12 12:55:47 +01:00
Andrew White a1d0c0fa3d Reverse 821525e and wrap run_generator call
Ruby 2.1.0 includes the json gem 1.8.1 by default so we need bundler 1.5.1
for `bundle install` to work. To fix this reverse the downgrade to 1.3.5
and wrap the `run_generator` call with a block that resets `THOR_DEBUG`.
2014-01-02 10:06:29 +00:00
Rafael Mendonça França f9d854823f Enable fast_finish in the travis configuration
Since rbx and jruby builds are being allowed to fail lets receive the
build information early enabling this option

See http://about.travis-ci.org/blog/2013-11-27-fast-finishing-builds/
2014-01-02 00:35:51 -02:00
Andrew White 821525eadc Downgrade bundler until 1.5.2 is available
Bundler sets the THOR_DEBUG environment variable causing Thor to
re-raise exceptions on exit. This is breaking the railties tests
for generators where we are trying to capture error output.

The PR bundler/bundler#2794 fixes this by adding a per-instance
config `:debug` but this has not been released yet so to prevent
errors going unnoticed downgrade bundler to 1.3.5 until such a
time that 1.5.2 has been released.
2014-01-01 23:20:57 +00:00
Piotr Sarnacki 2be2003d06 Revert "Install bundle gems to the system not to vendor/bundle"
This reverts commit 875dd3edfd34eaa20120b6589b0d1905230e948f.

The issue was fixed in rbx-2.2.3
2013-12-30 09:55:28 +01:00
Piotr Sarnacki 15e2eb42a7 Install bundle gems to the system not to vendor/bundle
Rubinius has problems with bundling when shared gems are disabled (ie.
when --path or --deployhment is used). There is no real reason to
install it with --path on TravisCI, so I'm dropping it.
2013-12-29 15:54:51 +01:00
Guillermo Iguaran 2aceccf974 Test with 2.1.0 2013-12-25 15:17:08 -05:00
Guillermo Iguaran 6d255b741c Merge pull request #13438 from vipulnsward/enable-memache-on-travis
Enable memcached service on travis for running cache tests.
2013-12-21 10:59:04 -08:00
Vipul A M 5724464731 Enable memcached service on travis for running cache tests. 2013-12-22 00:16:34 +05:30
Guillermo Iguaran e219bf0ebc Test with 2.1.0-rc1 2013-12-20 22:21:28 -05:00
Santiago Pastorino 7b5cf7ef9d Always point to latest rbx and jruby in travis 2013-12-18 13:34:48 -02:00
Rafael Mendonça França b602c17666 2.1.0 is fine 2013-12-05 00:36:30 -02:00
Santiago Pastorino 49ed8a1a62 Run Travis tests using Ruby 2.1.0-preview2 too 2013-12-04 17:54:47 -02:00
Federico Ravasio f12099313c Updated allow_failures for Rubinius 2.2.1. 2013-11-24 16:15:22 +01:00
Federico Ravasio 5541cdcf88 Properly fix Rubinius dependencies in Gemfile & Travis integration.
Before Rubinius 2.2.0, some parts of the stdlib were lazily loaded, even
if not included in the Gemfile. Now it's 100% required to include the
gem 'rubysl', otherwise the stdlib is not available entirely, breaking
everything.

Also, the rubysl-test-unit gem was depending on minitest ~> 4.7, thus causing
conflicts with Rails's dependency on minitest 5. That is not the case
anymore since rubysl-test-unit 2.0.2, so it is completely safe to
include it fully.

When Travis is going to update RVM to 1.24, it'll be safe to use rbx-2,
thus picking new versions automatically.
2013-11-24 14:38:18 +01:00
Gaurish Sharma f5627ba4da Start Running tests on Stable JRuby
Fixes for LOT of bugs have now landed in Jruby 1.7.6, thus we no longer
need to run tests against the master.

for broken tests that are still remaning:
1. If problem is in rails - we fix that test/code
2. if its a JRuby bug - we skip that test & file a bug report for jruby.
2013-11-09 00:16:20 +05:30
Federico Ravasio f960362f74 Updated Rubinius version to 2.1.1 2013-10-31 21:08:40 +01:00
Rafael Mendonça França 1428131f64 Merge pull request #12107 from kares/master
allow to test AR master against AR-JDBC master (with `ENV['AR_JDBC']`)
2013-10-31 10:05:02 -07:00
Gaurish Sharma ebe3d5b106 Allow failures in jruby-head 2013-09-20 10:23:00 +05:30
Gaurish Sharma 8b8f8cf41c Run Tests against JRuby master
Many of the failing tests in rails test suite fail because of missing encoding support, example #11739


And according to recent announcement, lot of encoding issues have been fixed in current master.  http://ruby.11.x6.nabble.com/Big-encoding-patches-landed-on-master-td4993719.html


So lets test against JRuby master & incase there are still bugs. it would be easier to report them to JRuby.
2013-09-20 10:16:19 +05:30