Commit c24c4bcf98795c33668f03f5cd2f850923beb8bb
1 parent
c1957636
Exists in
master
and in
21 other branches
Test against ES 5.0 rc1
Showing
2 changed files
with
7 additions
and
3 deletions
Show diff stats
.travis.yml
... | ... | @@ -24,7 +24,7 @@ gemfile: |
24 | 24 | - test/gemfiles/mongoid4.gemfile |
25 | 25 | - test/gemfiles/mongoid5.gemfile |
26 | 26 | env: |
27 | - - ELASTICSEARCH_VERSION=2.4.0 | |
27 | + - ELASTICSEARCH_VERSION=2.4.1 | |
28 | 28 | matrix: |
29 | 29 | include: |
30 | 30 | - gemfile: Gemfile |
... | ... | @@ -34,7 +34,7 @@ matrix: |
34 | 34 | - gemfile: Gemfile |
35 | 35 | env: ELASTICSEARCH_VERSION=2.0.0 |
36 | 36 | - gemfile: Gemfile |
37 | - env: ELASTICSEARCH_VERSION=5.0.0-beta1 | |
37 | + env: ELASTICSEARCH_VERSION=5.0.0-rc1 | |
38 | 38 | # - gemfile: test/gemfiles/nobrainer.gemfile |
39 | 39 | # env: NOBRAINER=true |
40 | 40 | allow_failures: | ... | ... |
test/ci/before_install.sh
1 | 1 | #!/usr/bin/env bash |
2 | 2 | |
3 | +set -e | |
4 | + | |
3 | 5 | gem install bundler |
4 | 6 | |
5 | 7 | sudo apt-get purge elasticsearch |
6 | 8 | if [[ $ELASTICSEARCH_VERSION == 1* ]]; then |
7 | 9 | wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-$ELASTICSEARCH_VERSION.deb |
8 | -else | |
10 | +elif [[ $ELASTICSEARCH_VERSION == 2* ]]; then | |
9 | 11 | wget https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/$ELASTICSEARCH_VERSION/elasticsearch-$ELASTICSEARCH_VERSION.deb |
12 | +else | |
13 | + wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-$ELASTICSEARCH_VERSION.deb | |
10 | 14 | fi |
11 | 15 | sudo dpkg -i elasticsearch-$ELASTICSEARCH_VERSION.deb |
12 | 16 | sudo service elasticsearch start | ... | ... |