File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,7 @@ services:
16
16
before_install :
17
17
- npm install -g less
18
18
- gem install puppet puppet-lint
19
- - wget --no-check-certificate 'https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.10.tar.gz'
20
- - tar zxf elasticsearch-0.90.10.tar.gz
21
- # Note! bin/elasticsearch will start ES in the background automatically.
22
- # # That's why this works without using a service or a trailing &
23
- - ./elasticsearch-0.90.10/bin/elasticsearch
19
+ - ./scripts/start-travis-elasticsearch.sh
24
20
25
21
install : true
26
22
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -ex
4
+
5
+ # Why download it and not use the elasticsearch service?
6
+ # Two reasons
7
+ # - predictable version (1.4.x) is what we use in production
8
+ # - running it as a service would require sudo which we don't want to use
9
+ wget --no-check-certificate ' https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.4.5.tar.gz'
10
+ tar zxf elasticsearch-1.4.5.tar.gz
11
+ echo " script.disable_dynamic: false" > elasticsearch.yml
12
+ # the -d flag starts it as a daemon in the background
13
+ ./elasticsearch-1.4.5/bin/elasticsearch -d --config=elasticsearch.yml
You can’t perform that action at this time.
0 commit comments