language: php

sudo: false

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

matrix:
  include:
    - php: 5.3
      env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'

before_script:
  - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist

script:
  - vendor/bin/phpcs --standard=phpcs.xml lib/
  - vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover

after_success:
    - bash <(curl -s https://codecov.io/bash)
language: php

sudo: false

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

matrix:
  include:
    - php: 5.3
      env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'
  allow_failures:
    - hhvm

before_script:
  - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist

script:
  - vendor/bin/phpcs --standard=phpcs.xml lib/
  - vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover

after_success:
    - bash <(curl -s https://codecov.io/bash)
Allow Travis to fail on HHVM
Allow Travis to fail on HHVM
