Commit Graph

121 Commits

Author SHA1 Message Date
Vipul A M
bbb8f518b5 Include running mariadb on travis
- Specify we want to run on latest stable ruby for mariadb

- change in runs of builds

Make mariadb? method publicly available
2016-04-14 04:42:41 +05:30
Rafael Mendonça França
bf84a99239
Revert "Merge pull request #24440 from yahonda/use_newer_version_of_sqlite3_at_travis_ci"
This reverts commit a3d085a4ce949526cd388d6b399347504d9a0c92, reversing
changes made to e2df1c6d2aa1dd667c6c1be25d5c7f7d69f293fa.

It broke the build
2016-04-06 01:06:20 -03:00
Yasuo Honda
de98a64559 Use SQLite3 3.7.15 which supports multiple values insert 2016-04-05 21:11:19 +00:00
Benjamin Fleischer
3027970464 Run latest precompiled JRuby on CI only against ActionPack
Uses latest precompiled JRuby so that
we don't spend time downloading versions Travis has
not already compiled. http://rubies.travis-ci.org/

Uses latest jdk: oraclejdk8
per
https://docs.travis-ci.com/user/build-environment-updates/2015-02-03/#Ruby-VM
and
https://docs.travis-ci.com/user/languages/ruby/#Supported-Ruby-Versions-and-RVM

Follows on work in https://github.com/rails/rails/pull/23927 which was reverted
26fe5fa08d

JRUBY_OPTS minimize GC, disable JIT, for max test speed
  - https://github.com/rails/rails/pull/16613
  - https://github.com/rails/rails/pull/17088

Have Rails use JRuby-compatible Rake 11.1
  - The Rake task was passing --verbose, an invalid option, to contemporary JRuby
  - https://github.com/ruby/rake/pull/120
  - https://github.com/rails-api/active_model_serializers/pull/1585
  - https://github.com/jruby/jruby/issues/3653#issuecomment-195883717

No advantage to directly mounting JRuby over installing from cache; both on S3
  - b2d5b336b5
  - f4fad041b2
2016-03-30 02:11:45 -05:00
Matthew Draper
bbba0649f5 Merge pull request #23992 from matthewd/em-option
Support faye-websocket + EventMachine as an option
2016-03-04 05:31:48 +10:30
Matthew Draper
a373be9da4 Support faye-websocket + EventMachine as an option 2016-03-02 12:17:15 +10:30
Rafael Mendonça França
26fe5fa08d Revert "Merge pull request #23927 from gaurish/jruby_ci_actionpack"
This reverts commit ddb7be50e8a0946d29fbe66537f845b8369413b7, reversing
changes made to ee4a1462e97f26bd480352468efab5b9c18aa8de.

Reason: It is givin us a lot of timeouts in travis because JRuby 9.0.5.0
needs to be build in every run
2016-03-01 15:23:05 -03:00
Gaurish Sharma
981f96d6f6 Try running CI for ActionPack on JRuby
These are green on local. Checking to see they pass on travis too!
2016-02-27 22:10:47 +05:30
Ryuta Kamizono
ecd8f8f0ed Revert "No need to specify Ruby patch version on Travis CI" 2016-02-06 15:34:20 +09:00
Prem Sichanugrist
4dd0cddc43 No need to specify Ruby patch version on Travis CI
Travis CI now select the latest patch version of Ruby automatically when
given MAJOR.MINOR version string.
2016-02-05 15:00:37 -05:00
Jon Moss
9d426d3fe3 Move Action Cable back to the main build 2016-01-30 21:04:00 -05:00
Rafael Mendonça França
bb6f36ee39 Allow failures for Action Cable tests 2016-01-30 12:08:21 -05:00
Akshay Vishnoi
89773dbb80 Update postgresql version to 9.4 for travis.
Now available - https://docs.travis-ci.com/user/using-postgresql/
2016-01-10 04:31:22 +05:30
Jon Moss
2de7158e60 Add Ruby 2.3.0 to Travis matrix 2015-12-25 10:41:27 -05:00
Abdelkader Boudih
fb24d0ed6c Remove legacy mysql adapter 2015-12-17 15:54:57 +00:00
David Heinemeier Hansson
48f5cecdb0 Merge pull request #22586 from rails/merge-action-cable
Merge Action Cable into master
2015-12-17 12:13:22 +01:00
Gustavo Villa
71f851ed9b Test against Ruby 2.2.4 on Travis. 2015-12-16 21:24:52 -03:00
Rafael Mendonça França
87e4481467 Fix travis matrix 2015-12-14 23:45:25 -02:00
Rafael Mendonça França
a780c7ee43 Add ruby-head back in the allow failures group
Travis still don't have a updated version
2015-12-14 23:14:07 -02:00
Rafael Mendonça França
dbf867cfcb Do now allow failures with Ruby 2.3 anymore 2015-12-14 16:32:10 -02:00
Rafael Mendonça França
a02f5e8c34 Test with Ruby 2.3.0 2015-12-14 16:23:02 -02:00
Rafael Mendonça França
a0e4d5e335 Add Action Cable tests to travis matrix 2015-12-14 14:44:51 -02:00
Arun Agrawal
dcb75834c3 Remove JRUBY_OPTS from .travis.yml file
As we are not running tests for JRuby on travis this option is not
needed.

For more details check 0e8c04529159522aadbfe4fe71ea3d326df07d52
2015-10-23 10:46:51 +02:00
hiren mistry
3df305edd0 Added beanstalkd to Travis so ActiveJob integration tests for beanstalkd can run 2015-09-19 15:10:14 -07:00
Akira Matsuda
15f3cc8119 Test against the newest stable ruby 2.2.3 2015-08-22 16:19:41 +09:00
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