Commit Graph

85 Commits

Author SHA1 Message Date
Yuki Nishijima
1e2fcbb958 Use Ruby 2.2.2 on travis
This is required to run https://github.com/rails/rails/pull/19752 successfully.
2015-04-13 20:19:25 -07:00
Rafael Mendonça França
35a816a86a Disable Active Job intregration tests.
They may be fixed at #19470
2015-04-08 19:38:34 -03:00
Jeremy Kemper
398dd13f3a Revert "Allow failures with Active Job"
Travis is green. Let's keep it that way rather than let AJ
languish as a second-class citizen.

This reverts commit 2a6b3e14cff61639978a55f47aea9ff4c8e72758.
2015-03-05 11:50:46 -07:00
Sean Griffin
a26afeab95 Use ruby 2.2.1 on Travis 2015-03-05 11:12:34 -07:00
Rafael Mendonça França
b1edc3789a Track Gemfile.lock at the repository
The main reason is to make bisect easier.

In some points, we have a lot of git dependencies. Since we don't have
the information of which commit we are referring to, bundler get the
latest commit of the master branch of the dependency. This sometimes
returns a version that is not compatible with Rails anymore, making the
tests fail and the harder to identify the commit that introduced a bug.

Also this will make sure that a contributor will always get a set of
dependencies that are passing with our tests.

In our CI server we delete the lock file to make sure we are always
testing against the newest release of our dependencies.
2015-02-18 15:14:46 -02:00
Sean Griffin
63f959d21b Move ruby-head to allowed failures [ci skip]
We're about a year a way from either project releasing, their
development doesn't need to break our builds for now.
2015-02-05 07:39:32 -07:00
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 c9a43126c5e2c608ab3ff1be994bce69e815a144

😢
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 5d2d301024cc0b17f26f6b454ac22a72f1db8a23.
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