Skip to content

Commit 64c3f1d

Browse files
committed
[CI] Test if Travis needs elasticsearch listed as a service in the config
1 parent 662cd93 commit 64c3f1d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ language: ruby
1010

1111
services:
1212
- mongodb
13-
- elasticsearch
1413

1514
branches:
1615
only:
@@ -53,7 +52,7 @@ before_install:
5352
- wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ELASTICSEARCH_VERSION}.deb.sha512
5453
- shasum -a 512 -c elasticsearch-${ELASTICSEARCH_VERSION}.deb.sha512
5554
- sudo dpkg -i --force-confnew elasticsearch-${ELASTICSEARCH_VERSION}.deb
56-
- sudo service elasticsearch restart
55+
- sudo service elasticsearch start
5756
- gem update --system -q
5857
- gem update bundler -q
5958
- gem --version

0 commit comments

Comments
 (0)