language: ruby
cache:
  - bundler
  - apt

bundler_args: --without production doc

rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.2

env:
  - LC_ALL=de_DE.UTF-8

services:
  - postgresql

before_script:
  - sudo locale-gen de_DE
  - sudo update-locale LANG=de_DE
  - psql -c 'create database matchy_test;' -U postgres
  - psql -c 'CREATE EXTENSION postgis;' -U postgres -d matchy_test
  - psql -c 'CREATE EXTENSION postgis_topology;' -U postgres -d matchy_test
  - RAILS_ENV=test rake db:migrate

notifications:
  email:
    - info@christophbuente.de

language: ruby
cache:
  - bundler
  - apt

bundler_args: --without production doc

rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.2

env:
  - LC_ALL=de_DE.UTF-8

services:
  - postgresql

before_script:
  - sudo locale-gen de_DE
  - sudo update-locale LANG=de_DE
  - psql -c 'create database matchy_test;' -U postgres
  - psql -c 'CREATE EXTENSION postgis;' -U postgres -d matchy_test
  - psql -c 'CREATE EXTENSION postgis_topology;' -U postgres -d matchy_test
  - RAILS_ENV=test bundle exec rake db:migrate

notifications:
  email:
    - info@christophbuente.de

Use bundle exec to migrat database.
Use bundle exec to migrat database.
