forked from ankane/searchkick
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (40 loc) · 1.02 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
language: ruby
rvm: 2.2.5
services:
- elasticsearch
- mongodb
before_install:
- ./test/ci/before_install.sh
script: RUBYOPT=W0 bundle exec rake test
before_script:
- psql -c 'create database searchkick_test;' -U postgres
notifications:
email:
on_success: never
on_failure: change
gemfile:
- Gemfile
- test/gemfiles/activerecord42.gemfile
- test/gemfiles/activerecord41.gemfile
- test/gemfiles/activerecord40.gemfile
- test/gemfiles/activerecord32.gemfile
- test/gemfiles/activerecord31.gemfile
- test/gemfiles/mongoid2.gemfile
- test/gemfiles/mongoid3.gemfile
- test/gemfiles/mongoid4.gemfile
- test/gemfiles/mongoid5.gemfile
env:
- ELASTICSEARCH_VERSION=2.4.1
matrix:
include:
- gemfile: Gemfile
env: ELASTICSEARCH_VERSION=1.0.0
- gemfile: Gemfile
env: ELASTICSEARCH_VERSION=1.7.0
- gemfile: Gemfile
env: ELASTICSEARCH_VERSION=2.0.0
- gemfile: Gemfile
env: ELASTICSEARCH_VERSION=5.0.0
allow_failures:
- gemfile: Gemfile
env: ELASTICSEARCH_VERSION=5.0.0