.travis.yml 1.28 KB
Newer Older
1 2
language: ruby
sudo: false
3 4
script: 'ci/travis.rb'
before_install:
Ondrej Sury's avatar
Ondrej Sury committed
5
  - "rvm current | grep 'jruby' && export AR_JDBC=true || echo"
6
  - "rm ${BUNDLE_GEMFILE}.lock"
7
  - "gem update bundler"
8 9 10
before_script:
  - bundle update
cache: bundler
11 12 13 14 15 16 17
env:
  global:
    - JRUBY_OPTS='-J-Xmx1024M'
  matrix:
    - "GEM=railties"
    - "GEM=ap"
    - "GEM=am,amo,as,av,aj"
18
    - "GEM=as PRESERVE_TIMEZONES=1"
19 20 21 22 23
    - "GEM=ar:mysql"
    - "GEM=ar:mysql2"
    - "GEM=ar:sqlite3"
    - "GEM=ar:postgresql"
    - "GEM=aj:integration"
24 25
rvm:
  - 1.9.3
26 27 28 29 30 31
  - 2.0.0-p648
  - 2.1.10
  - 2.2.7
  - 2.3.4
  - 2.4.1

32 33
matrix:
  allow_failures:
34 35 36 37 38
    - rvm: 1.9.3
      env: "GEM=ar:mysql"
    - rvm: 2.0.0
      env: "GEM=ar:mysql"
    - env: "GEM=aj:integration"
39 40 41
  exclude:
    - rvm: 2.4.1
      env: "GEM=ar:mysql"
Ondrej Sury's avatar
Ondrej Sury committed
42
  fast_finish: true
43 44 45 46 47 48 49 50 51 52 53 54
notifications:
  email: false
  irc:
    on_success: change
    on_failure: always
    channels:
      - "irc.freenode.org#rails-contrib"
  campfire:
    on_success: change
    on_failure: always
    rooms:
      - secure: "YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI="
55
bundler_args: --jobs 3 --retry 3
Ondrej Sury's avatar
Ondrej Sury committed
56 57
services:
  - memcached
58 59 60 61
  - redis
  - rabbitmq
addons:
  postgresql: "9.3"