forked from railsadminteam/rails_admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (46 loc) · 1.25 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.1
- rbx-2
- ruby-head
services:
- mongodb
bundler_args: --without development --jobs=3 --retry=3
sudo: false
cache: bundler
before_script:
- cd spec/dummy_app
- bundle install
- bundle exec rake rails_admin:prepare_ci_env
- bundle exec rake db:create db:migrate
- cd ../../
env:
- CI_ORM=mongoid
- CI_ORM=active_record CI_DB_ADAPTER=sqlite3
matrix:
include:
- rvm: 2.1.1
env: CI_ORM=active_record CI_DB_ADAPTER=mysql2
- rvm: 2.1.1
env: CI_ORM=active_record CI_DB_ADAPTER=postgresql CI_DB_USERNAME=postgres
- rvm: 2.1.1
env: RAILS_VER=4.0 CI_ORM=active_record CI_DB_ADAPTER=sqlite3
- rvm: 2.1.1
env: RAILS_VER=4.0 CI_ORM=mongoid
- 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-2
- rvm: ruby-head
fast_finish: true
notifications:
irc: irc.freenode.org#railsadmin