language: ruby
rvm:
  - 1.9.3
services:
  - postgresql
notifications:
  recipients:
    - jari@holderdeord.no
  irc:
    channels:
      - "irc.freenode.net#holderdeord"
    on_success: change
    on_failure: change
    template:
      - "%{author} | %{commit} | %{message} | %{build_url}"
script: "RAILS_ENV=test SPEC_OPTS=--backtrace bundle exec rake travis"
before_script:
  - mv config/database.yml.example config/database.yml
  - sed -i -e 's/username:\ hdo/username:\ postgres/g' config/database.yml
  - sh -e /etc/init.d/xvfb start
  - npm install -g buster autolint
env:
  - DISPLAY=:99.0 COVERAGE_THRESHOLD=79

language: ruby
rvm:
  - 1.9.3
services:
  - postgresql
notifications:
  recipients:
    - jari@holderdeord.no
  irc:
    channels:
      - "irc.freenode.net#holderdeord"
    on_success: change
    on_failure: change
    template:
      - "%{author} | %{commit} | %{message} | %{build_url}"
script: "RAILS_ENV=test SPEC_OPTS=--backtrace bundle exec rake travis"
before_script:
  - mv config/database.yml.example config/database.yml
  - sed -i -e 's/username:\ hdo/username:\ postgres/g' config/database.yml
  - sh -e /etc/init.d/xvfb start
  - npm install -g buster autolint
env:
  - DISPLAY=:99.0 COVERAGE_THRESHOLD=80

Bump coverage threshold to 80%.
Bump coverage threshold to 80%.
