aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml46
1 files changed, 27 insertions, 19 deletions
diff --git a/.travis.yml b/.travis.yml
index f7259bfd3a..810ddeb65d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,23 +1,39 @@
language: ruby
sudo: false
-script: 'ci/travis.rb'
+cache:
+ bundler: true
+
+services:
+ - memcached
+
+bundler_args: --without test --jobs 3 --retry 3
before_install:
- - gem install bundler
+ - gem install bundler -v=1.11.2
+
+before_script:
+ - bundle update
+
+script: 'ci/travis.rb'
+
+env:
+ matrix:
+ - "GEM=railties"
+ - "GEM=ap,am,amo,ares,as"
+ - "GEM=ar:mysql"
+ - "GEM=ar:mysql2"
+ - "GEM=ar:sqlite3"
+ - "GEM=ar:postgresql"
+
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- - 2.1
- - 2.2
-env:
- - "GEM=railties"
- - "GEM=ap,am,amo,ares,as"
- - "GEM=ar:mysql"
- - "GEM=ar:mysql2"
- - "GEM=ar:sqlite3"
- - "GEM=ar:postgresql"
+ - 2.1.8
+ - 2.2.5
+ - 2.3.1
+
notifications:
email: false
irc:
@@ -30,11 +46,3 @@ notifications:
on_failure: always
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