forked from elastic/elasticsearch-rails
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (39 loc) · 1.12 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
# -----------------------------------------------------------------------------
# Configuration file for http://travis-ci.org/elasticsearch/elasticsearch-rails
# -----------------------------------------------------------------------------
dist: trusty
sudo: required
language: ruby
services:
- mongodb
branches:
only:
- master
- travis
- 5.x
- 2.x
matrix:
include:
- rvm: 2.2.6
jdk: oraclejdk8
env: TEST_SUITE=unit
- rvm: 2.3.3
jdk: oraclejdk8
env: TEST_SUITE=unit
- rvm: 2.3.3
jdk: oraclejdk8
env: TEST_SUITE=integration QUIET=y SERVER=start TEST_CLUSTER_LOGS=/tmp/log TEST_CLUSTER_COMMAND=/tmp/elasticsearch-6.0.0-alpha1-SNAPSHOT/bin/elasticsearch
before_install:
- gem update --system --no-rdoc --no-ri
- gem --version
- gem install bundler -v 1.14.3 --no-rdoc --no-ri
- bundle version
- curl -sS https://snapshots.elastic.co/downloads/elasticsearch/elasticsearch-6.0.0-alpha1-SNAPSHOT.tar.gz | tar xz -C /tmp
install:
- bundle install
- rake bundle:clean
- rake bundle:install
script:
- rake test:$TEST_SUITE
notifications:
disable: true