forked from mongodb/mongo-ruby-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
80 lines (70 loc) · 1.42 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
language: ruby
sudo: false
rvm:
- 1.9.3
- 2.0.0
- 2.1.10
- 2.2.6
- 2.3.3
- 2.4.0
- jruby-19mode
- jruby-9.1.6.0
jdk:
- oraclejdk7
- openjdk7
- oraclejdk8
install: ruby -S bundle install --without release development
env:
global:
- CI="travis"
- JRUBY_OPTS="--server -J-Xms512m -J-Xmx1024m"
matrix:
- MONGODB=2.4.14
- MONGODB=2.6.12
- MONGODB=3.0.12
- MONGODB=3.2.11
- MONGODB=3.4.1
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 &
script: bundle exec rake spec:ci
notifications:
email: false
flowdock: 1da4416b8ff98d1880986472428b1b1b
branches:
only:
- master
- 1.x-stable
- 2.3-stable
matrix:
exclude:
- rvm: 1.9.3
jdk: openjdk7
- rvm: 1.9.3
jdk: oraclejdk8
- rvm: 2.0.0
jdk: openjdk7
- rvm: 2.0.0
jdk: oraclejdk8
- rvm: 2.1.10
jdk: openjdk7
- rvm: 2.1.10
jdk: oraclejdk8
- rvm: 2.2.6
jdk: openjdk7
- rvm: 2.2.6
jdk: oraclejdk8
- rvm: 2.3.3
jdk: openjdk7
- rvm: 2.3.3
jdk: oraclejdk8
- rvm: 2.4.0
jdk: openjdk7
- rvm: 2.4.0
jdk: oraclejdk8
- rvm: ruby-head
jdk: openjdk7
- rvm: ruby-head
jdk: oraclejdk8