language: php

php:
  - 5.3
  - 5.4
  - 5.5
  - 5.6
  - hhvm

before_install:
  - composer self-update
  - composer install --dev -n --prefer-source
  - if [ "5.5" == $TRAVIS_PHP_VERSION ]; then pyrus install pear/PHP_CodeSniffer; fi
  - phpenv rehash

script:
  - mkdir -p build/logs
  - if [ "5.5" == $TRAVIS_PHP_VERSION ]; then phpcs --standard=PSR2 src/; fi
  - ./vendor/bin/phpunit

notifications:
  email:
    recipients:
      - dev@maxmind.com
    on_success: change
    on_failure: always

language: php

php:
  - 5.3
  - 5.4
  - 5.5
  - 5.6
  - hhvm

before_install:
  - composer self-update
  - composer install --dev -n --prefer-source
  - if [ "5.5" == $TRAVIS_PHP_VERSION ]; then pyrus install pear/PHP_CodeSniffer; fi
  - phpenv rehash

script:
  - mkdir -p build/logs
  - if [ "5.5" == $TRAVIS_PHP_VERSION ]; then phpcs --standard=PSR2 src/; fi
  - ./vendor/bin/phpunit

notifications:
  email:
    recipients:
      - dev-ci@maxmind.com
    on_success: change
    on_failure: always

Send all emails to dev-ci@mm
Send all emails to dev-ci@mm
