Skip to content

Commit

Permalink
Use elasticsearch 1.5.x in travis tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brew committed Nov 24, 2017
1 parent ffc8e01 commit a2df41b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
23 changes: 14 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
language: python
os:
- linux
services:
- elasticsearch

python:
- 2.7
- 3.3
- 3.4
- 3.5
sudo: false
- 3.6

env:
- TOXENV="py${PYTHON_VERSION//./}"

before_install:
- sudo rm -f /etc/boto.cfg
- curl -O https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.5.2.deb && sudo dpkg -i --force-confnew elasticsearch-1.5.2.deb && sudo service elasticsearch restart

install:
- pip install tox coveralls

before_script:
- sleep 30
- curl localhost:9200

script: tox

after_success:
- coveralls
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@
packages=find_packages(exclude=['tests']),

install_requires=[
'elasticsearch',
'elasticsearch>=1.0.0,<2.0.0',
],
)

0 comments on commit a2df41b

Please sign in to comment.