File tree 1 file changed +25
-16
lines changed
1 file changed +25
-16
lines changed Original file line number Diff line number Diff line change 2
2
# Configuration file for http://travis-ci.org/elasticsearch/elasticsearch-rails
3
3
# -----------------------------------------------------------------------------
4
4
5
+ dist : trusty
6
+
7
+ sudo : required
8
+
5
9
language : ruby
6
10
11
+ services :
12
+ - mongodb
13
+
7
14
branches :
8
15
only :
9
16
- master
10
17
- travis
11
18
12
- rvm :
13
- - 1.9.3
14
- - 2.1
15
- - 2.2
19
+ matrix :
20
+ include :
21
+ - rvm : 2.2.6
22
+ jdk : oraclejdk8
23
+ env : TEST_SUITE=unit
16
24
17
- jdk :
18
- - openjdk7
25
+ - rvm : 2.3.3
26
+ jdk : oraclejdk8
27
+ env : TEST_SUITE=unit
19
28
20
- services :
21
- - mongodb
29
+ - rvm : 2.3.3
30
+ jdk : oraclejdk8
31
+ env : TEST_SUITE=integration SERVER=start TEST_CLUSTER_LOGS=/tmp/log TEST_CLUSTER_COMMAND=/tmp/elasticsearch-1.7.5/bin/elasticsearch
22
32
23
33
before_install :
24
- - gem update --system
34
+ - gem update --system --no-rdoc --no-ri
25
35
- gem --version
26
- - gem install bundler -v 1.11.2
36
+ - gem install bundler -v 1.14.3 --no-rdoc --no-ri
37
+ - bundle version
38
+ - curl -sS https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.5.tar.gz | tar xz -C /tmp
27
39
28
- before_script :
29
- - ls -la /usr/share/elasticsearch/bin/elasticsearch
30
- - elasticsearch -v
40
+ install :
41
+ - bundle install
31
42
- rake bundle:clean
32
43
- rake bundle:install
33
44
34
45
script :
35
- - 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
46
+ - rake test:$TEST_SUITE
36
47
37
48
notifications :
38
49
disable : true
39
-
40
- sudo : false
You can’t perform that action at this time.
0 commit comments