Commit Graph

179 Commits

Author SHA1 Message Date
Matthew Draper
71f0db7c7f Bump Travis to new Ruby releases
Most interesting to us, 2.4.2 and 2.3.5 include the fix for
https://bugs.ruby-lang.org/issues/13632
2017-09-15 11:42:49 +09:30
Koichi ITO
2f871a4834 CI against JRuby 9.1.13.0
http://jruby.org/2017/09/06/jruby-9-1-13-0.html
2017-09-07 09:57:31 +09:00
Matthew Draper
d38266bc27 Retry if rubygems misbehaves: it's probably just the network 2017-09-02 17:52:02 +09:30
Yasuo Honda
1e38174499 Bump PostgreSQL version to the latest version 9.6 at Travis CI
Travis CI new default Ubuntu Trusty supports 9.6
https://docs.travis-ci.com/user/database-setup/#Using-a-different-PostgreSQL-Version
2017-09-01 17:18:09 +00:00
Yasuo Honda
827308d86a CI with the latest stable(GA) version of MariaDB 10.2
- Travis CI is migrating Ubuntu version to Trusty
- MariaDB 10.2 is supported on Ubuntu Trusty
2017-09-01 12:19:25 +00:00
Matthew Draper
251d3f9151 Encrypt the IRC notification setting, so it's not used on forks
The value isn't actually secret, so I've kept it as a comment.
2017-08-17 21:02:09 +09:30
George Claghorn
3841fdc4e7 Run Active Storage service tests in CI 2017-08-14 13:48:17 -04:00
George Claghorn
e43ba973a3 Run Active Storage tests in CI (#30144) 2017-08-10 15:58:30 -04:00
David Heinemeier Hansson
a9cb1968b6 Setup travis to be able to run CI tests against S3 2017-07-31 17:51:16 -05:00
Marc Ignacio
f55ecc6a7c Allows for other common redis options to be in cable.yml, by default
- Adds RedisAdapterTest::AlternateConfiguration to account
  for a relatively common alternative setup, as it’s used
  as the first example in the
  [Redis rubygem](https://github.com/redis/redis-rb#getting-started)

- Supplies original RedisAdapterTest with more complete
  redis:// url format by adding a ‘userinfo’ (blank user),
  so that it resembles the alternate configuration

- Supplies original EventedRedisAdapterTest with more complete
  redis:// url as well

- Adds before_script to start redis-server with password as a daemon
  and with explicit defaults copied from the default redis.conf
  (Instead of using Travis' default init/upstart scripts for `redis` service)
2017-06-22 16:15:47 +08:00
Koichi ITO
c778ded45e CI against JRuby 9.1.12.0
http://jruby.org/2017/06/15/jruby-9-1-12-0.html
2017-06-19 15:58:07 +09:00
Koichi ITO
ee7957aa15 CI against JRuby 9.1.10.0
http://jruby.org/2017/05/25/jruby-9-1-10-0.html
2017-05-26 12:19:41 +09:00
yuuji.yaginuma
39de88e4b5 Remove rubygems version lock
This version lock added by 3d890b66c1bfbdcabb7ef66e0774e0f01e2ed5d6.
But original issue is fixed with bundler 1.15.

Ref: https://github.com/rubygems/rubygems/issues/1911#issuecomment-300148516
2017-05-22 17:56:20 +09:00
Koichi ITO
d8297114f4 CI against JRuby 9.1.9.0
http://jruby.org/2017/05/16/jruby-9-1-9-0
2017-05-17 19:56:51 +09:00
Matthew Draper
3d890b66c1 Avoid rubygems 2.6.12 for now
It's causing a test to fail, and we're not yet sure what (if anything)
we should be doing differently. See rubygems/rubygems#1911.
2017-05-04 23:41:55 +09:30
Rafael Mendonça França
eac6f3690f
Revert "Merge pull request #27636 from mtsmfm/disable-referential-integrity-without-superuser-privilege-take-2"
This reverts commit c1faca6333abe4b938b98fedc8d1f47b88209ecf, reversing
changes made to 8c658a0ecc7f2b5fc015d424baf9edf6f3eb2b0b.

See https://github.com/rails/rails/pull/27636#issuecomment-297534129
2017-04-26 13:39:05 -07:00
Matthew Draper
7384771dd0 Use a query that's compatible with PostgreSQL 9.2
Also, explicitly apply the order: generate_subscripts is unlikely to
start returning values out of order, but we should still be clear about
what we want.
2017-04-12 23:38:57 +09:30
yuuji.yaginuma
f2e3f5945d CI against Ruby 2.4.1
Related #28532, #27636
2017-04-03 21:32:49 +09:00
Ryunosuke Sato
d022fce9b2 CI against Ruby 2.3.4
https://www.ruby-lang.org/en/news/2017/03/30/ruby-2-3-4-released/
2017-03-31 09:11:04 +09:00
Ryunosuke Sato
36e7524f3e CI against Ruby 2.2.7
https://www.ruby-lang.org/en/news/2017/03/28/ruby-2-2-7-released/
2017-03-30 00:59:36 +09:00
Fumiaki MATSUSHIMA
2a129380e8 Use SET CONSTRAINTS for disable_referential_integrity without superuser privileges (take 2)
Re-create https://github.com/rails/rails/pull/21233

eeac6151a5 was reverted (127509c071b4) because it breaks tests.

----------------

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.
2017-03-26 17:12:13 +09:00
Jon Moss
3122b7f75b Bump Travis ruby version to 2.4.1
https://www.ruby-lang.org/en/news/2017/03/22/ruby-2-4-1-released/
2017-03-22 15:06:30 -04:00
Akira Matsuda
26b7f9b47b CI against jruby-9.1.8.0 2017-03-07 11:51:23 +09:00
Jon Moss
e50996e35c Enable Active Model testing for JRuby 2017-02-23 18:20:06 -05:00
Rafael Mendonça França
fe4a5706ac
Test rails-ujs in our travis matrix 2017-02-22 13:49:28 -05:00
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