forked from railsadminteam/rails_admin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
41 lines (41 loc) · 1.09 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
before_install: gem update bundler
bundler_args: --without development
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- rbx
- ruby-head
env:
- CI_ORM=mongoid
- CI_ORM=active_record CI_DB_ADAPTER=sqlite3
language: ruby
matrix:
include:
- rvm: 2.1.0
env: CI_ORM=active_record CI_DB_ADAPTER=mysql2
- rvm: 2.1.0
env: CI_ORM=active_record CI_DB_ADAPTER=postgresql CI_DB_USERNAME=postgres
- rvm: jruby-19mode
env: CI_ORM=mongoid JRUBY_OPTS="$JRUBY_OPTS --debug"
- rvm: jruby-19mode
env: CI_ORM=active_record CI_DB_ADAPTER=sqlite3 JRUBY_OPTS="$JRUBY_OPTS --debug"
- rvm: jruby-head
env: CI_ORM=mongoid JRUBY_OPTS="$JRUBY_OPTS --debug"
- rvm: jruby-head
env: CI_ORM=active_record CI_DB_ADAPTER=sqlite3 JRUBY_OPTS="$JRUBY_OPTS --debug"
allow_failures:
- rvm: jruby-head
- rvm: rbx
- rvm: ruby-head
fast_finish: true
notifications:
irc: irc.freenode.org#railsadmin
before_script:
- cd spec/dummy_app
- bundle install
- bundle exec rake rails_admin:prepare_ci_env
- bundle exec rake db:create db:migrate
- cd ../../
services:
- mongodb