Skip to content

Commit cbc07af

Browse files
committed
Travis: use build matrix for regular and SolrCloud tests
1 parent a48f758 commit cbc07af

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.travis.yml

+5
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,18 @@ cache:
1313
directories:
1414
- $HOME/download-cache
1515

16+
env:
17+
- SOLRCLOUD=false
18+
- SOLRCLOUD=true
19+
1620
addons:
1721
apt_packages:
1822
- default-jdk
1923

2024
install:
2125
- "pip install 'requests>2'"
2226
- "pip install ."
27+
- 'if [[ "${SOLRCLOUD:-false}" == "true" ]]; then pip install -e .[solrcloud]; fi'
2328

2429
script:
2530
- python run-tests.py

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
],
3232
extras_require={
3333
'solrcloud': [
34-
'kazoo==2.2'
34+
'kazoo==2.2'
3535
]
3636
}
3737
)

0 commit comments

Comments
 (0)