language: php

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

before_install:
  - composer install --dev -n --prefer-source
  - if [ "5.5" == $TRAVIS_PHP_VERSION ]; then curl -sOL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar; fi
  - phpenv rehash

script:
  - mkdir -p build/logs
  - if [ "5.5" == $TRAVIS_PHP_VERSION ]; then php phpcs.phar --standard=PSR2 src/; fi
  - phpunit -c phpunit.xml.dist

after_script:
  - php vendor/bin/coveralls

sudo: false

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

language: php

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

before_install:
  - composer install --dev -n --prefer-source
  - if [ "5.5" == $TRAVIS_PHP_VERSION ]; then curl -sOL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar; fi
  - phpenv rehash

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

after_script:
  - php vendor/bin/coveralls

sudo: false

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

Use phpunit from Composer with Travis
Use phpunit from Composer with Travis
