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