forked from elastic/elasticsearch-rails
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (30 loc) · 880 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
40
# -----------------------------------------------------------------------------
# Configuration file for http://travis-ci.org/elasticsearch/elasticsearch-rails
# -----------------------------------------------------------------------------
language: ruby
branches:
only:
- master
- travis
rvm:
- 1.9.3
- 2.1
- 2.2
jdk:
- openjdk7
services:
- mongodb
before_install:
- gem update --system
- gem --version
- gem install bundler -v 1.11.2
before_script:
- ls -la /usr/share/elasticsearch/bin/elasticsearch
- elasticsearch -v
- rake bundle:clean
- rake bundle:install
script:
- SERVER=launch TEST_CLUSTER_COMMAND=/usr/share/elasticsearch/bin/elasticsearch TEST_CLUSTER_PARAMS='-Des.default.path.conf=/etc/elasticsearch/ -Des.default.path.logs==/var/log/elasticsearch/' bundle exec rake test:all
notifications:
disable: true
sudo: false