language: php

sudo: false

php:
  - 5.4
  - 5.5
  - 5.6
  - 7
  - hhvm

matrix:
  allow_failures:
    - php: hhvm

before_script:
  - composer self-update
  - composer update  --prefer-source

script:
  - ./vendor/bin/phpunit --coverage-clover=./build/clover.xml
  - ./vendor/bin/phpcs --standard=PSR2 ./src/ ./tests/

after_script:
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover ./build/clover.xml

language: php

sudo: false

php:
  - 5.4
  - 5.5
  - 5.6
  - 7
  - 7.1
  - hhvm

matrix:
  allow_failures:
    - php: hhvm

before_script:
  - composer self-update
  - composer update  --prefer-source

script:
  - ./vendor/bin/phpunit --coverage-clover=./build/clover.xml
  - ./vendor/bin/phpcs --standard=PSR2 ./src/ ./tests/

after_script:
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover ./build/clover.xml

Add PHP 7.1 to Travis versions
Add PHP 7.1 to Travis versions
