language: python
python:
  - "2.6"

addons:
  postgresql: "9.3"

services:
  - rabbitmq
  - elasticsearch
  - memcached

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -y npm libxml2-dev libxslt1-dev
  - npm install -g less
  - sudo ln -s /usr/local/lib/node_modules/less/bin/lessc /usr/local/bin

before_script:
    - psql -c "create user test with encrypted password 'aPassword' superuser;" -U postgres
    - psql -c 'create database socorro_test;' -U postgres
    - psql -c 'create database socorro_integration_test;' -U postgres
    - psql -c 'create database socorro_migration_test;' -U postgres

script:
  - ./scripts/build.sh

language: python
python:
  - "2.6"

addons:
  postgresql: "9.3"

services:
  - rabbitmq
  - memcached

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -y npm libxml2-dev libxslt1-dev
  - wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.9.deb
  - sudo dpkg -i elasticsearch-0.90.9.deb
  - npm install -g less
  - sudo ln -s /usr/local/lib/node_modules/less/bin/lessc /usr/local/bin

before_script:
    - psql -c "create user test with encrypted password 'aPassword' superuser;" -U postgres
    - psql -c 'create database socorro_test;' -U postgres
    - psql -c 'create database socorro_integration_test;' -U postgres
    - psql -c 'create database socorro_migration_test;' -U postgres

script:
  - ./scripts/build.sh

Install ES 0.90 in Travis
Install ES 0.90 in Travis
