Skip to content
This repository was archived by the owner on Sep 9, 2022. It is now read-only.

Commit f5c46cd

Browse files
committed
test on travis also on Solr v6 and v7
1 parent 585bb81 commit f5c46cd

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ r_github_packages:
1414
env:
1515
matrix:
1616
- SOLR_VERSION=5.4.1
17+
- SOLR_VERSION=6.0.0
18+
- SOLR_VERSION=7.0.0
1719

1820
before_install:
1921
- case "$SOLR_VERSION" in
@@ -23,6 +25,16 @@ before_install:
2325
export SOLR_VERSION=5.4.1 ;
2426
mkdir temp && cd temp && wget http://archive.apache.org/dist/lucene/solr/$SOLR_VERSION/solr-$SOLR_VERSION.tgz && tar -zxf solr-$SOLR_VERSION.tgz && cd solr-$SOLR_VERSION && bin/solr start -p 8983 && bin/solr create -c gettingstarted -p 8983 && bin/post -c gettingstarted example/exampledocs/*.xml && cd ../../
2527
;;
28+
29+
"6.0.0")
30+
export SOLR_VERSION=6.0.0 ;
31+
mkdir temp && cd temp && wget http://archive.apache.org/dist/lucene/solr/$SOLR_VERSION/solr-$SOLR_VERSION.tgz && tar -zxf solr-$SOLR_VERSION.tgz && cd solr-$SOLR_VERSION && bin/solr start -p 8983 && bin/solr create -c gettingstarted -p 8983 && bin/post -c gettingstarted example/exampledocs/*.xml && cd ../../
32+
;;
33+
34+
"7.0.0")
35+
export SOLR_VERSION=7.0.0 ;
36+
mkdir temp && cd temp && wget http://archive.apache.org/dist/lucene/solr/$SOLR_VERSION/solr-$SOLR_VERSION.tgz && tar -zxf solr-$SOLR_VERSION.tgz && cd solr-$SOLR_VERSION && bin/solr start -p 8983 && bin/solr create -c gettingstarted -p 8983 && bin/post -c gettingstarted example/exampledocs/*.xml && cd ../../
37+
;;
2638
esac
2739

2840

0 commit comments

Comments
 (0)