Commit Graph

154 Commits

Author SHA1 Message Date
Yasuo Honda
5213643ed9 Add sqlite3_mem adapter to Travis CI 2017-01-31 16:23:13 +00:00
yuuji.yaginuma
44277a3157 add combination of Ruby 2.4 + aj:integration to CI 2017-01-28 00:57:26 +09:00
Akira Matsuda
ab7be56325 Always use the newest rubygems when CIing 2017-01-27 20:09:40 +09:00
Koichi ITO
e85f5500a9 CI against JRuby 9.1.7.0 2017-01-13 16:41:50 +09:00
Akira Matsuda
6197a38bca CI against jruby-9.1.6.0
And let's see if it still fails...
2017-01-05 19:02:22 +09:00
Rafael Mendonça França
127509c071
Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges"
This reverts commit eeac6151a55cb7d5f799e1ae33aa64a839cbc3aa, reversing
changes made to 5c40239d3104543e70508360d27584a3e4dc5baf.

Reason: Broke the isolated tests.
https://travis-ci.org/rails/rails/builds/188721346
2017-01-03 22:11:16 -05:00
Rafael França
eeac6151a5 Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges
Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser privileges
2017-01-03 20:38:50 -05:00
Akira Matsuda
85ca8c08c2 CI against ruby 2.4.0 2016-12-25 10:54:50 +09:00
Matthew Draper
333af12c00 Shuffle travis matrix
* Run actionpack and actioncable tests together
* Demote ac:integration to allow_failures -- it works most of the time,
  but still fails too frequently to rely upon
2016-12-25 01:35:53 +10:30
Jon Moss
67be4402e5 Add Ruby v2.4.0-rc1 to Travis matrix 2016-12-20 15:07:33 -05:00
Fumiaki MATSUSHIMA
e75fcdf3fe Use SET CONSTRAINTS for disable_referential_integrity without superuser privileges
ref: 72c1557254

- We must use `authors` fixture with `author_addresses` because of its foreign key constraint.
- Tests require PostgreSQL >= 9.4.2 because it had a bug about `ALTER CONSTRAINTS` and fixed in 9.4.2.
2016-12-03 15:53:22 +09:00
Matthew Draper
3050affc45 Only start rabbitmq when we need it 2016-11-27 17:50:17 +10:30
Akira Matsuda
edb105ba80 CI against 2.3.3
2.3.2 has a known regression https://bugs.ruby-lang.org/issues/12920#note-5
2016-11-22 20:06:31 +09:00
Jon Moss
2694a74c88 Make JRUBY_OPTS a global Travis environment variable 2016-11-16 21:24:18 -05:00
Jon Moss
9140c11fcb Enable JRuby testing for Active Job
All tests pass for me locally.
2016-11-16 21:23:34 -05:00
Rafael França
84c58ced46 Merge pull request #27064 from koic/bump_ruby_versions
Run tests by Ruby 2.2.6 and 2.3.2
2016-11-16 17:44:38 -05:00
Jon Moss
780aaf1f10 Enable JRuby testing for Action Mailer
All tests passing locally for me:

```
195 runs, 441 assertions, 0 failures, 0 errors, 0 skips
```
2016-11-16 17:23:10 -05:00
Koichi ITO
8e239fa712 Run tests by Ruby 2.2.6 and 2.3.2 2016-11-16 17:29:56 +09:00
Kir Shatrov
7a7b23f95a Upgrade JRuby to satisfy gemfile 2016-11-07 09:37:49 -08:00
Prathamesh Sonpatki
bb93276b8d
Bump bundler version in the before_install hook of travis
- We were running into issues with old bundler versions on 4.2
  builds. So we bumped the bundler version on 4-2-stable branch in
  https://github.com/rails/rails/pull/26592.
- This commit applies same change to master as per discussion in
  https://github.com/rails/rails/pull/26592#issuecomment-254026755.
2016-10-16 19:07:31 +02:00
bogdanvlviv
6150973407 Don't allow tests ac:integration to failure 2016-10-08 23:05:20 +03:00
Matthew Draper
f977004cc6 Revert "Temporarily make ACa tests noiser and more predictable"
This reverts commit 2d6c14bca25c5629e431a802c3053bad1e378fcc.
2016-10-08 10:51:06 +10:30
Matthew Draper
2d6c14bca2 Temporarily make ACa tests noiser and more predictable 2016-10-03 18:32:22 +10:30
Matthew Draper
d44177d45e Remove Faye mode
No deprecation, because it was never documented.
2016-10-01 15:35:59 +09:30
Rafael Mendonça França
8fb6995714
Try the newest bundler 2016-07-02 00:58:54 -03:00
Matthew Draper
59a1a8a3e2 Revert "Merge pull request #25131 from javierhonduco/javierhonduco/clone_depth_to_1"
This reverts commit acf0bb3f4945f6fda4ac7170b3a0f8fa3becc8f5, reversing
changes made to c5b766a9a20c9dd5bf09e69a7c508f369c2eeea3.

Travis can only build a commit it can clone; without any clone depth,
all branch builds error as soon as there's a newer commit present.
2016-06-29 01:46:22 +09:30
Jon Moss
8cfce058d9
CI: run Action Cable browser tests in Sauce Labs
Allow failures until test runs are consistently stable, not hanging.

Closes #24943.

Signed-off-by: Jeremy Daer <jeremydaer@gmail.com>
2016-05-25 09:21:28 -07:00
Javier Honduvilla Coto
331a9629a9 Cloning depth set to 1 2016-05-24 22:25:55 +03:00
Andrew White
eb3d409d6d Run Active Support tests when preserving timezones
Add to the matrix of Travis tests an entry that runs the Active Support
tests when `ActiveSupport.to_time_preserves_timezone = true`.
2016-05-05 05:07:58 +01:00
Jon Moss
0486c85db5 Bump Ruby versions
2.2.4 --> 2.2.5
2.3.0 --> 2.3.1
2016-05-04 11:56:21 -04:00
Vipul A M
e02a136f7f Depend on bundler 1.11.2 on travis until bundle update discrepancy is solved on 1.12.x 2016-05-03 16:55:56 -05:00
Jeremy Daer
ea628f72c3
CI: allow JRuby build to fail, too flaky to be useful 2016-04-25 19:30:37 -05:00
Jeremy Daer
c280282ec0
Travis: cache unicode data downloads and beanstalkd build 2016-04-19 00:26:17 -07:00
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