forked from mongodb/mongoid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
64 lines (54 loc) · 1.29 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
language: ruby
sudo: false
bundler_args: --without development
branches:
only:
- master
- 6.4.0-stable
before_install:
- gem update --system
- gem update bundler
matrix:
fast_finish: true
exclude:
- rvm: ruby-head
gemfile: gemfiles/rails_master.gemfile
- rvm: jruby-9.1.16.0
gemfile: gemfiles/rails_master.gemfile
- rvm: jruby-9.1.16.0
gemfile: gemfiles/driver_master.gemfile
- rvm: jruby-9.1.16.0
env: MONGODB=2.6.12
- rvm: jruby-9.1.16.0
env: MONGODB=3.4.10
allow_failures:
- rvm: ruby-head
- gemfile: gemfiles/rails_master.gemfile
rvm:
- 2.5.1
- ruby-head
- jruby-9.1.16.0
gemfile:
- Gemfile
- gemfiles/driver_master.gemfile
- gemfiles/rails_master.gemfile
env:
global:
- CI="travis"
- JRUBY_OPTS="--server -J-Xms512m -J-Xmx1G"
matrix:
- MONGODB=2.6.12
- MONGODB=3.4.10
- MONGODB=3.6.2
before_script:
- 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 --dbpath /tmp/data --bind_ip 127.0.0.1 --auth &> /dev/null &
notifications:
email: false
irc:
on_success: change
on_failure: always
channels:
- "irc.freenode.org#mongoid"