aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml48
1 files changed, 32 insertions, 16 deletions
diff --git a/.travis.yml b/.travis.yml
index e5aaf57f93..3130ee1b32 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,26 +1,38 @@
+language: ruby
+sudo: false
script: 'ci/travis.rb'
before_install:
- - travis_retry gem install bundler
- - "rvm current | grep 'jruby' && export AR_JDBC=true || echo"
+ - gem install bundler
+ - "rm ${BUNDLE_GEMFILE}.lock"
+before_script:
+ - bundle update
+cache: bundler
+env:
+ global:
+ - JRUBY_OPTS='-J-Xmx1024M'
+ matrix:
+ - "GEM=railties"
+ - "GEM=ap"
+ - "GEM=aj"
+ - "GEM=am,amo,as,av"
+ - "GEM=ar:mysql"
+ - "GEM=ar:mysql2"
+ - "GEM=ar:sqlite3"
+ - "GEM=ar:postgresql"
+ - "GEM=aj:integration"
rvm:
- - 1.9.3
- - 2.0.0
- - 2.1
+ - 2.2
- ruby-head
- rbx-2
- - jruby
-env:
- - "GEM=railties"
- - "GEM=ap,am,amo,as,av"
- - "GEM=ar:mysql"
- - "GEM=ar:mysql2"
- - "GEM=ar:sqlite3"
- - "GEM=ar:postgresql"
+ - jruby-head
matrix:
allow_failures:
- - rvm: rbx-2
- - rvm: jruby
+ - env: "GEM=ar:mysql"
- rvm: ruby-head
+ - rvm: rbx-2
+ - rvm: jruby-head
+ - env: "GEM=aj"
+ - env: "GEM=aj:integration"
fast_finish: true
notifications:
email: false
@@ -34,6 +46,10 @@ notifications:
on_failure: always
rooms:
- secure: "YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI="
-bundler_args: --path vendor/bundle --without test
+bundler_args: --without test --jobs 3 --retry 3
services:
- memcached
+ - redis
+ - rabbitmq
+addons:
+ postgresql: "9.3"