Skip to content

Commit 2308fe3

Browse files
committed
fix elastic search for travis build
1 parent c60cf04 commit 2308fe3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,16 @@ rvm:
33
- 2.1.0
44
bundler_args: "--without development production autotest"
55
services:
6-
- elasticsearch
76
- memcached
87
- mongodb
98
- redis-server
109
before_install:
10+
- wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.5.deb
11+
- sudo dpkg -i elasticsearch-0.20.5.deb
12+
- sudo service elasticsearch start
1113
- gem update --system
1214
- travis_retry gem install bundler --pre
1315
before_script:
1416
- cp -f config/database.travis.yml config/database.yml
1517
- cp -f .env.example .env
16-
- bin/rake db:create db:schema:load RAILS_ENV=test
18+
- bin/rake db:create db:schema:load RAILS_ENV=test

0 commit comments

Comments
 (0)