language: php

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

matrix:
  allow_failures:
    - php: hhvm
    - php: hhvm-nightly

install:
    - composer self-update
    - composer install --prefer-dist --dev -o
    - composer require squizlabs/php_codesniffer:2.*

script:
  - phpunit
  - ./vendor/bin/phpcs -p --standard=PSR2 ./src ./tests

notifications:
  email: false

language: php

php:
  - 7.0
  - hhvm
  - hhvm-nightly

dist: trusty

matrix:
  allow_failures:
    - php: hhvm
    - php: hhvm-nightly

install:
    - composer self-update
    - composer install --prefer-dist --dev -o
    - composer require squizlabs/php_codesniffer:2.*

script:
  - phpunit
  - ./vendor/bin/phpcs -p --standard=PSR2 ./src ./tests

notifications:
  email: false

Drop 5.* tests from matrix
Drop 5.* tests from matrix
