language: python

python:
  - "2.6"
  - "2.7"
  - "3.2"
  - "3.3"

env:
  global:
    - WAIT_FOR_ES=1
  matrix:
    - ES_VERSION=1.0.3
    - ES_VERSION=1.1.2
    - ES_VERSION=1.2.1

install:
  - mkdir /tmp/elasticsearch
  - wget -O - https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz | tar xz --directory=/tmp/elasticsearch --strip-components=1
  - pip install .

before_script:
  - /tmp/elasticsearch/bin/elasticsearch -d -D es.path.data=/tmp -D es.gateway.type=none -D es.index.store.type=memory -D es.discovery.zen.ping.multicast.enabled=false

script:
  - python setup.py test


language: python

python:
  - "2.6"
  - "2.7"
  - "3.2"
  - "3.3"

env:
  global:
    - WAIT_FOR_ES=1
  matrix:
    - ES_VERSION=1.0.3
    - ES_VERSION=1.1.2
    - ES_VERSION=1.2.1

install:
  - mkdir /tmp/elasticsearch
  - wget -O - https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz | tar xz --directory=/tmp/elasticsearch --strip-components=1
  - pip install -e git+git@github.com:elasticsearch/elasticsearch-py.git#egg=elasticsearch
  - pip install .

before_script:
  - /tmp/elasticsearch/bin/elasticsearch -d -D es.path.data=/tmp -D es.gateway.type=none -D es.index.store.type=memory -D es.discovery.zen.ping.multicast.enabled=false

script:
  - python setup.py test


Make sure we have elasticsearch-py from git
Make sure we have elasticsearch-py from git
