language: ruby
rvm:
  - 1.9.2
env:
  - DB=mysql GOVUK_APP_DOMAIN=test.gov.uk RUBYOPT="-rpsych"
services:
  - elasticsearch
script:
  - bundle exec rake
bundler_args: --without=development
branches:
  except:
    - release
notifications:
  email: false

language: ruby
rvm:
  - 1.9.2
env:
  - DB=mysql GOVUK_APP_DOMAIN=test.gov.uk RUBYOPT="-rpsych"
services:
  - elasticsearch
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq aspell libaspell-dev
script:
  - bundle exec rake
bundler_args: --without=development
branches:
  except:
    - release
notifications:
  email: false

Install aspell and libaspell-dev for Travis tests
Install aspell and libaspell-dev for Travis tests

Should fix failing Travis tests on the `spelling_suggestions` branch.

This will execute before the repo is cloned. `update` is required because
APT's cache may be pointing at stale mirror locations. `-qq` makes APT super
quiet, so that it doesn't clog up your normal test output. It should however
still give a meaningful message if it fails during the `apt-get`.
