Skip to content

Commit 88bb6e8

Browse files
committed
[CI] Move the Bundler install command on Travis to the before_install section
Related: elastic#538
1 parent ee824a5 commit 88bb6e8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ jdk:
2020
services:
2121
- mongodb
2222

23+
before_install:
24+
- gem update --system
25+
- gem --version
26+
- gem install bundler -v 1.11.2
27+
2328
before_script:
2429
- ls -la /usr/share/elasticsearch/bin/elasticsearch
2530
- echo $PWD
@@ -29,8 +34,6 @@ before_script:
2934
script:
3035
- 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
3136

32-
install: "gem uninstall bundler -axI && gem install bundler -v 1.11.2"
33-
3437
notifications:
3538
disable: true
3639

0 commit comments

Comments
 (0)