forked from elastic/elasticsearch-rails
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (37 loc) · 1.07 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
# -----------------------------------------------------------------------------
# Configuration file for http://travis-ci.org/elasticsearch/elasticsearch-rails
# -----------------------------------------------------------------------------
dist: trusty
sudo: required
language: ruby
services:
- mongodb
branches:
only:
- master
- travis
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-5.2.0/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://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.2.0.tar.gz | tar xz -C /tmp
install:
- bundle install
- rake bundle:clean
- rake bundle:install
script:
- rake test:$TEST_SUITE
notifications:
disable: true