forked from ankane/searchkick
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (46 loc) · 1.16 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
sudo: false
language: ruby
rvm: 2.3.1
services:
- 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
- test/gemfiles/mongoid6.gemfile
env:
- ELASTICSEARCH_VERSION=5.1.1
jdk: oraclejdk8
matrix:
include:
- gemfile: Gemfile
env: ELASTICSEARCH_VERSION=1.0.0
jdk: oraclejdk7
- gemfile: Gemfile
env: ELASTICSEARCH_VERSION=1.7.0
jdk: oraclejdk7
- gemfile: Gemfile
env: ELASTICSEARCH_VERSION=2.0.0
jdk: oraclejdk7
- gemfile: Gemfile
env: ELASTICSEARCH_VERSION=2.4.1
jdk: oraclejdk7
- gemfile: Gemfile
env: ELASTICSEARCH_VERSION=5.0.1
jdk: oraclejdk8