Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Brognoli committed Feb 15, 2019
1 parent c6aaf7c commit 6a0175f
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ language: python
# Enable 3.7 without globally enabling sudo and dist: xenial for other build jobs
matrix:
include:
- env: ES_APT_URL=https://packages.elastic.co/elasticsearch/2.x/debian ES_DSL_VERS=2.2.0
- env: ES_APT_URL=https://packages.elastic.co/elasticsearch/2.x/debian ES_DSL_VERS=2.2.0 ES_VERS=2.2.1
python: 3.6
- env: ES_APT_URL=https://artifacts.elastic.co/packages/5.x/apt ES_DSL_VERS=5.3.0
- env: ES_APT_URL=https://artifacts.elastic.co/packages/5.x/apt ES_DSL_VERS=5.3.0 ES_VERS=5.6.0
python: 3.6
- env: ES_APT_URL=https://artifacts.elastic.co/packages/6.x/apt ES_DSL_VERS=6.3.1
- env: ES_APT_URL=https://artifacts.elastic.co/packages/6.x/apt ES_DSL_VERS=6.3.1 ES_VERS=6.4.3
python: 3.6
- env: ES_APT_URL=https://packages.elastic.co/elasticsearch/2.x/debian ES_DSL_VERS=2.2.0
python: 3.7
Expand All @@ -29,17 +29,16 @@ matrix:
before_install:
- wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
- echo "deb $ES_APT_URL stable main" | sudo tee -a /etc/apt/sources.list.d/elastic.list
- sudo apt-get update && sudo apt-get install elasticsearch -y
- sudo apt-get update && sudo apt-get install elasticsearch=$ES_VERS -y
- sudo service elasticsearch start
- sleep 10
# - elasticsearch -v
- curl localhost:9200

install:
- pip install .
- pip install -r requirements-dev.txt
- pip install coveralls
- pip install elasticsearch-dsl==$ES_DSL_VERSION
- pip install elasticsearch-dsl==$ES_DSL_VERS

script:
- make tests
Expand Down

0 comments on commit 6a0175f

Please sign in to comment.