Commit Graph

96 Commits

Author SHA1 Message Date
Rafael Mendonça França
0e8c045291 Remove JRuby and Rubinius from the travis matrix
This will save Travis some precious resource since it will not need to
run 18 jobs for these Ruby implementations on every push or pull
request.

We do care about these implementations but we should fix the build
locally before having it running on travis. We would love to have
someone working on this but right now it is not our reality.
2015-07-13 16:59:39 -03:00
Roque Pinel
89550bc1a0 Add the bug report templates to the Travis CI build
The bug report templates are now executed from the `ci/travis.rb` when
`GEM` contains `guides`.

I started by creating a `test` task in `guides/Rakefile` to handle this,
but since inline `gemfile` must not be executed with `bundle exec`, that
rake task would not be consistent with others. So I went back by
executing them directly from `Build`.

Use inline Gemfile dependency when reporting gem bugs
2015-06-05 15:29:48 -05:00
Sean Griffin
b6b13905e5 Skip test that fails from outdated sqlite3 on travis 2015-06-02 07:29:44 -06:00
Sean Griffin
0b34b79d64 Attempt to fix travis failures
The version of SQLite used by Travis is outdated. We need to install a
newer version.
2015-05-30 18:00:19 -06:00
Samuel E. Giddins
be50118916 Revert "Use bundler < 1.10 until its bugs are fixed"
This reverts commit 81b42970f02d07ca5007bbce920b489d80172636.
2015-05-28 22:38:50 -07:00
Samuel E. Giddins
950b06b2c6 Revert "Uninstall bundler 1.10"
This reverts commit 410d246bc0ddabe47f0bf54116be9087bd3d4bda.
2015-05-28 22:38:30 -07:00
Samuel E. Giddins
76f0cdbd90 Revert "Force the uninstall"
This reverts commit 9ff901bd3e046b0373b28459269146707b5bf8c9.
2015-05-28 22:38:19 -07:00
Rafael Mendonça França
9ff901bd3e Force the uninstall 2015-05-28 23:24:28 -03:00
Rafael Mendonça França
410d246bc0 Uninstall bundler 1.10 2015-05-28 23:23:09 -03:00
Rafael Mendonça França
81b42970f0 Use bundler < 1.10 until its bugs are fixed
See https://github.com/bundler/bundler/issues/3681
2015-05-28 23:10:02 -03:00
Rafael Mendonça França
413398fc99 Enable Active Job integration tests again 2015-04-14 13:08:58 -04:00
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