Permalink
Fetching contributors…
Cannot retrieve contributors at this time
117 lines (112 sloc) 3.15 KB
language: ruby
branches:
only:
- master
before_script:
- mysql -e 'create database delayed_job_test;'
- psql -c 'create database delayed_job_test;' -U postgres
script: bundle exec rspec
env:
global:
- JRUBY_OPTS="$JRUBY_OPTS -Xcli.debug=true --debug"
gemfile: # Supported
- gemfiles/mysql2/4-2.gemfile
- gemfiles/mysql2/5-0.gemfile
- gemfiles/mysql2/5-1.gemfile
- gemfiles/postgresql/4-2.gemfile
- gemfiles/postgresql/5-0.gemfile
- gemfiles/postgresql/5-1.gemfile
- gemfiles/sqlite3/4-2.gemfile
- gemfiles/sqlite3/5-0.gemfile
- gemfiles/sqlite3/5-1.gemfile
rvm: # Supported
- 2.2.7
- 2.3.4
- 2.4.1
- jruby-9.1.8.0
jdk: oraclejdk8
matrix:
allow_failures:
- rvm: jruby-head # Future
- rvm: rbx-2 # Parallel dimension
- rvm: ruby-head # Future
- gemfile: gemfiles/mysql2/master.gemfile # Future
- gemfile: gemfiles/postgresql/master.gemfile # Future
- gemfile: gemfiles/sqlite3/master.gemfile # Future
# The two combinations below are currently broken. We should stop allowing
# failure as the issue is resolved. See:
# https://github.com/jruby/activerecord-jdbc-adapter/issues/700
- rvm: jruby-9.1.8.0
gemfile: gemfiles/mysql2/5-1.gemfile
- rvm: jruby-9.1.8.0
gemfile: gemfiles/postgresql/5-1.gemfile
include:
#
# The future
#
# Active Record head
- gemfile: gemfiles/mysql2/master.gemfile
rvm: 2.4.1
- gemfile: gemfiles/postgresql/master.gemfile
rvm: 2.4.1
- gemfile: gemfiles/sqlite3/master.gemfile
rvm: 2.4.1
# MRI Ruby head
- rvm: ruby-head
gemfile: gemfiles/mysql2/5-1.gemfile
- rvm: ruby-head
gemfile: gemfiles/postgresql/5-1.gemfile
- rvm: ruby-head
gemfile: gemfiles/sqlite3/5-1.gemfile
# JRuby head
- rvm: jruby-head
gemfile: gemfiles/mysql2/5-1.gemfile
- rvm: jruby-head
gemfile: gemfiles/postgresql/5-1.gemfile
- rvm: jruby-head
gemfile: gemfiles/sqlite3/5-1.gemfile
#
# The past
#
# EOL Active Record
- gemfile: gemfiles/mysql2/3-0.gemfile
rvm: 2.2.7
- gemfile: gemfiles/mysql2/3-1.gemfile
rvm: 2.2.7
- gemfile: gemfiles/mysql2/3-2.gemfile
rvm: 2.2.7
- gemfile: gemfiles/mysql2/4-0.gemfile
rvm: 2.3.4
- gemfile: gemfiles/mysql2/4-1.gemfile
rvm: 2.3.4
- gemfile: gemfiles/postgresql/3-0.gemfile
rvm: 2.2.7
- gemfile: gemfiles/postgresql/3-1.gemfile
rvm: 2.2.7
- gemfile: gemfiles/postgresql/3-2.gemfile
rvm: 2.2.7
- gemfile: gemfiles/postgresql/4-0.gemfile
rvm: 2.3.4
- gemfile: gemfiles/postgresql/4-1.gemfile
rvm: 2.3.4
- gemfile: gemfiles/sqlite3/3-0.gemfile
rvm: 2.2.7
- gemfile: gemfiles/sqlite3/3-1.gemfile
rvm: 2.2.7
- gemfile: gemfiles/sqlite3/3-2.gemfile
rvm: 2.2.7
- gemfile: gemfiles/sqlite3/4-0.gemfile
rvm: 2.3.4
- gemfile: gemfiles/sqlite3/4-1.gemfile
rvm: 2.3.4
#
# The parallel dimension
#
# Rubinius
- gemfile: gemfiles/mysql2/5-1.gemfile
rvm: rbx-2
- gemfile: gemfiles/postgresql/5-1.gemfile
rvm: rbx-2
- gemfile: gemfiles/sqlite3/5-1.gemfile
rvm: rbx-2
sudo: false