forked from doorkeeper-gem/doorkeeper-mongodb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
79 lines (68 loc) · 2.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
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
language: ruby
sudo: false
cache: bundler
before_install:
# MongoMapper works only with MongoDB <= 3.2.x
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.2.18.tgz
- tar xzf mongodb-linux-x86_64-3.2.18.tgz
- ${PWD}/mongodb-linux-x86_64-3.2.18/bin/mongod --version
- mkdir ${PWD}/mongodb-linux-x86_64-3.2.18/data
# Bind on another port in order to test mongo_mapper separately
- ${PWD}/mongodb-linux-x86_64-3.2.18/bin/mongod --dbpath ${PWD}/mongodb-linux-x86_64-3.2.18/data --logpath ${PWD}/mongodb-linux-x86_64-3.2.18/mongodb.log --fork --port 27027
- gem update --system # Need for Ruby 2.5.0. https://github.com/travis-ci/travis-ci/issues/8978
- gem install bundler -v '~> 1.10'
rvm:
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
env:
- RAILS=4.2.6
- RAILS=5.0.7
- RAILS=5.1.6
- RAILS=5.2.0
gemfile:
- gemfiles/Gemfile.mongoid4.rb
- gemfiles/Gemfile.mongoid5.rb
- gemfiles/Gemfile.mongoid6.rb
- gemfiles/Gemfile.mongoid7.rb
- gemfiles/Gemfile.mongo_mapper.rb
services:
- mongodb
matrix:
exclude:
- env: RAILS=5.0.7
rvm: 2.1
- env: RAILS=5.1.6
rvm: 2.1
- env: RAILS=5.2.0
rvm: 2.1
# Mongoid4 requires activemodel ~> 4.0
- gemfile: gemfiles/Gemfile.mongoid4.rb
env: RAILS=5.0.7
- gemfile: gemfiles/Gemfile.mongoid4.rb
env: RAILS=5.1.6
- gemfile: gemfiles/Gemfile.mongoid4.rb
env: RAILS=5.2.0
# Mongoid5 requires activemodel ~> 4.0
- gemfile: gemfiles/Gemfile.mongoid5.rb
env: RAILS=5.0.7
- gemfile: gemfiles/Gemfile.mongoid5.rb
env: RAILS=5.1.6
- gemfile: gemfiles/Gemfile.mongoid5.rb
env: RAILS=5.2.0
# Mongoid6 requires activemodel ~> 5.0
- gemfile: gemfiles/Gemfile.mongoid6.rb
env: RAILS=4.2.6
- gemfile: gemfiles/Gemfile.mongoid6.rb
rvm: 2.1
# Mongoid7 requires activemodel ~> 5.1
- gemfile: gemfiles/Gemfile.mongoid7.rb
env: RAILS=4.2.6
- gemfile: gemfiles/Gemfile.mongoid7.rb
env: RAILS=5.0.7
- gemfile: gemfiles/Gemfile.mongoid7.rb
rvm: 2.1
- gemfile: gemfiles/Gemfile.mongo_mapper.rb
env: RAILS=5.2.0