-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
36 lines (31 loc) · 942 Bytes
/
.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
language: ruby
rvm:
- 2.0
- 2.1
- 2.2
- rbx
- jruby
- ruby-head
gemfile:
- spec/gemfile/mongoid3.gemfile
- spec/gemfile/mongoid4.gemfile
- spec/gemfile/mongoid5.gemfile
matrix:
fast_finish: true
allow_failures:
- rvm: rbx
- rvm: jruby
- rvm: ruby-head
env:
matrix:
- MONGODB=3.2.18 CONFIG="--config /tmp/mongodb-wiredtiger.conf"
- MONGODB=3.2.18 CONFIG="--config /tmp/mongodb-mmapv1.conf"
- MONGODB=3.4.10 CONFIG="--config /tmp/mongodb-wiredtiger.conf"
- MONGODB=3.6.1 CONFIG="--config /tmp/mongodb-wiredtiger.conf"
before_script:
- cp spec/config/* /tmp/
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-${MONGODB}.tgz -O /tmp/mongodb.tgz
- tar -xvf /tmp/mongodb.tgz
- mkdir /tmp/data
- ${PWD}/mongodb-linux-x86_64-${MONGODB}/bin/mongod --version
- ${PWD}/mongodb-linux-x86_64-${MONGODB}/bin/mongod --dbpath /tmp/data --bind_ip 127.0.0.1 $CONFIG &> /dev/null &