This repository has been archived by the owner on Jun 25, 2024. It is now read-only.
forked from railsadminteam/rails_admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
100 lines (88 loc) · 2.63 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
language: ruby
before_install:
# https://github.com/danmayer/coverband/issues/162#issuecomment-452173268
- rm /home/travis/.rvm/gems/*/specifications/bundler-2.*.gemspec || true
- gem install bundler -v '< 2'
- ruby -e "exit RUBY_VERSION >= '2.6'" && gem update --system || true
before_script:
- cd spec/dummy_app
- bundle exec rake rails_admin:prepare_ci_env db:create db:migrate
- cd ../../
bundler_args: --without development --jobs=3 --retry=3 --path=../vendor/bundle
cache: bundler
env:
matrix:
- CI_ORM=mongoid
- CI_ORM=active_record CI_DB_ADAPTER=sqlite3
global:
- JRUBY_OPTS="$JRUBY_OPTS --debug"
rvm:
- 2.6.5
- 2.7.0
gemfile:
- gemfiles/rails_6.0.gemfile
addons:
postgresql: "9.4"
services:
- mongodb
dist: trusty
matrix:
include:
- rvm: 2.2.10
env: CI_ORM=mongoid
gemfile: gemfiles/rails_5.0.gemfile
- rvm: 2.2.10
env: CI_ORM=active_record CI_DB_ADAPTER=sqlite3
gemfile: gemfiles/rails_5.0.gemfile
- rvm: 2.3.8
env: CI_ORM=mongoid
gemfile: gemfiles/rails_5.1.gemfile
- rvm: 2.3.8
env: CI_ORM=active_record CI_DB_ADAPTER=sqlite3
gemfile: gemfiles/rails_5.1.gemfile
- rvm: 2.4.9
env: CI_ORM=mongoid
gemfile: gemfiles/rails_5.2.gemfile
- rvm: 2.4.9
env: CI_ORM=active_record CI_DB_ADAPTER=sqlite3
gemfile: gemfiles/rails_5.2.gemfile
- rvm: 2.5.7
env: CI_ORM=mongoid
gemfile: gemfiles/rails_5.2.gemfile
- rvm: 2.5.7
env: CI_ORM=active_record CI_DB_ADAPTER=sqlite3
gemfile: gemfiles/rails_5.2.gemfile
- rvm: 2.6.5
env: CI_ORM=active_record CI_DB_ADAPTER=mysql2
gemfile: gemfiles/rails_6.0.gemfile
- rvm: 2.6.5
env: CI_ORM=active_record CI_DB_ADAPTER=postgresql CI_DB_USERNAME=postgres
gemfile: gemfiles/rails_6.0.gemfile
- rvm: ruby-head
env: CI_ORM=mongoid
gemfile: gemfiles/rails_5.2.gemfile
- rvm: ruby-head
env: CI_ORM=active_record CI_DB_ADAPTER=sqlite3
gemfile: gemfiles/rails_6.0.gemfile
- rvm: jruby-9.2.7.0
env: CI_ORM=mongoid
gemfile: gemfiles/rails_5.2.gemfile
- rvm: jruby-9.2.7.0
env: CI_ORM=active_record CI_DB_ADAPTER=sqlite3
gemfile: gemfiles/rails_5.2.gemfile
- rvm: jruby-head
env: CI_ORM=active_record CI_DB_ADAPTER=sqlite3
gemfile: gemfiles/rails_5.2.gemfile
exclude:
- rvm: 2.6.5
env: CI_ORM=mongoid
gemfile: gemfiles/rails_6.0.gemfile
- rvm: 2.7.0
env: CI_ORM=mongoid
gemfile: gemfiles/rails_6.0.gemfile
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
fast_finish: true
notifications:
irc: irc.freenode.org#railsadmin