Permalink
Fetching contributors…
Cannot retrieve contributors at this time
56 lines (45 sloc) 1.04 KB
language: ruby
sudo: false
before_install:
- gem update --system
- gem update bundler
install: ruby -S bundle install --without release development
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 &
rvm:
- 1.9.3
- 2.4.2
- 2.5
- ruby-head
- jruby-9.1.16.0
branches:
only:
- master
matrix:
allow_failures:
- rvm: ruby-head
exclude:
- rvm: jruby-9.1.16.0
env: MONGODB=2.6.12
- rvm: jruby-9.1.16.0
env: MONGODB=3.0.12
- rvm: jruby-9.1.16.0
env: MONGODB=3.2.11
- rvm: jruby-9.1.16.0
env: MONGODB=3.4.1
env:
global:
- CI="travis"
- JRUBY_OPTS="--server -J-Xms512m -J-Xmx1024m"
matrix:
- MONGODB=2.6.12
- MONGODB=3.0.12
- MONGODB=3.2.11
- MONGODB=3.4.1
- MONGODB=3.6.2
script: bundle exec rake spec:ci
notifications:
email: false