forked from mongodb/mongo-ruby-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
67 lines (57 loc) · 1.19 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
language: ruby
sudo: false
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- jruby-19mode
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.11
- MONGODB=3.0.7
- MONGODB=3.2.0-rc1
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
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
jdk: openjdk7
- rvm: 2.1
jdk: oraclejdk8
- rvm: 2.2
jdk: openjdk7
- rvm: 2.2
jdk: oraclejdk8
- rvm: ruby-head
jdk: openjdk7
- rvm: ruby-head
jdk: oraclejdk8