forked from ankane/searchkick
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (39 loc) · 914 Bytes
/
.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
dist: xenial
language: ruby
rvm: 2.6.3
gemfile:
- Gemfile
services:
- postgresql
- redis-server
script: bundle exec rake test
before_install:
- createdb searchkick_test || true
- ./test/ci/install_elasticsearch.sh
cache:
directories:
- $HOME/elasticsearch
env:
- ELASTICSEARCH_VERSION=7.4.0
jdk: openjdk10
matrix:
include:
- gemfile: Gemfile
- gemfile: test/gemfiles/activerecord52.gemfile
env: ELASTICSEARCH_VERSION=7.0.0
- gemfile: test/gemfiles/activerecord51.gemfile
env: ELASTICSEARCH_VERSION=6.8.3
- gemfile: test/gemfiles/activerecord50.gemfile
env: ELASTICSEARCH_VERSION=6.0.0
- gemfile: test/gemfiles/mongoid7.gemfile
services:
- mongodb
- redis-server
- gemfile: test/gemfiles/mongoid6.gemfile
services:
- mongodb
- redis-server
notifications:
email:
on_success: never
on_failure: change