Skip to content

Commit

Permalink
Update travis for configuring elasticsearch with scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dchauviere authored and andrewvc committed Jan 8, 2016
1 parent 59ed462 commit 931b66f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
@@ -1,8 +1,9 @@
sudo: false
before_install:
- curl -s https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.0.0/elasticsearch-2.0.0.tar.gz > elasticsearch.tar.gz
- tar -xzf elasticsearch.tar.gz
- cd elasticsearch*/ && bin/elasticsearch &
- mkdir elasticsearch && tar -xzf elasticsearch.tar.gz --strip-components=1 -C ./elasticsearch/.
- ln -sn ../../spec/fixtures/scripts elasticsearch/config/.
- cd elasticsearch && bin/elasticsearch -Des.script.inline=on -Des.script.indexed=on &
- sleep 10 && curl http://localhost:9200
language: ruby
cache: bundler
Expand Down

0 comments on commit 931b66f

Please sign in to comment.