sudo: false

language: go

go:
  - 1.3
  - 1.4
  - tip

env:
  matrix:
    - ES_VERSION=1.3.8
    - ES_VERSION=1.4.2
    - ES_VERSION=1.4.3

before_script:
  - mkdir ${HOME}/elasticsearch
  - wget http://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz
  - tar -xzf elasticsearch-${ES_VERSION}.tar.gz -C ${HOME}/elasticsearch
  - ${HOME}/elasticsearch/elasticsearch-${ES_VERSION}/bin/elasticsearch >& /dev/null &
  - sleep 15

sudo: false

language: go

go:
  - 1.3
  - 1.4
  - tip

env:
  matrix:
    - ES_VERSION=1.3.9
    - ES_VERSION=1.4.2
    - ES_VERSION=1.4.4

before_script:
  - mkdir ${HOME}/elasticsearch
  - wget http://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz
  - tar -xzf elasticsearch-${ES_VERSION}.tar.gz -C ${HOME}/elasticsearch
  - ${HOME}/elasticsearch/elasticsearch-${ES_VERSION}/bin/elasticsearch >& /dev/null &
  - sleep 15

Update to latest ES versions
Update to latest ES versions
