diff options
author | Johnny Shields <johnny.shields@gmail.com> | 2016-09-15 05:06:05 +0900 |
---|---|---|
committer | Johnny Shields <johnny.shields@gmail.com> | 2016-09-15 05:06:05 +0900 |
commit | f8e2fe4320bdc1f2c06dc77391239937b7fc9e68 (patch) | |
tree | e4a0db02ff32650f7d168f134075e9d20fe5377a /.travis.yml | |
parent | 65b62f652ca564c3904e2d32d25e079090f3c78c (diff) | |
download | rails-f8e2fe4320bdc1f2c06dc77391239937b7fc9e68.tar.gz rails-f8e2fe4320bdc1f2c06dc77391239937b7fc9e68.tar.bz2 rails-f8e2fe4320bdc1f2c06dc77391239937b7fc9e68.zip |
Fix failing tests on 3-2-stable branch:
- Set sudo: false in .travis.yml which uses latest travis engine and fixes some failing specs
- Use older version of gems in Gemfile if RUBY_VERSION < '1.9.3' (no change to .gemspec)
- Fix two cases of hash rockets in tests (required for Ruby 1.8.7)
- Skip failing test "test_ensure_that_migration_tasks_work_with_mountable_option" which breaks due to Bundler no longer accepting the default generated .gemspec format.
- Skip railties specs on Ruby 1.8.7 (mark as an allowed failure.)
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 8e7f7842e5..f7259bfd3a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,6 @@ +language: ruby +sudo: false + script: 'ci/travis.rb' before_install: - gem install bundler @@ -28,3 +31,10 @@ notifications: rooms: - secure: "YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI=" bundler_args: --path vendor/bundle + +# Railties specs on Ruby 1.8.7 are broken. +# Last recorded passing CI run is https://travis-ci.org/rails/rails/builds/48782330 +matrix: + allow_failures: + - rvm: 1.8.7 + env: GEM=railties |