language: php

sudo: required

cache:
  directories:
    - $HOME/.composer/cache

php:
  - 5.6
  - 7.0
  - 7.1
  - hhvm

install:
  - sudo apt-get install openssl
  - composer install
  - phpunit --self-update

script: phpunit -c test/Unit/phpunit.xml.dist

after_script:
  ## Code climate
  - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then ./vendor/bin/test-reporter; fi

language: php

sudo: required

cache:
  directories:
    - $HOME/.composer/cache

php:
  - 5.6
  - 7.0
  - 7.1
  - hhvm

install:
  - sudo apt-get install openssl
  - composer install

script: phpunit -c test/Unit/phpunit.xml.dist

after_script:
  ## Code climate
  - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then ./vendor/bin/test-reporter; fi

Fix PHP7 phpunit self update
[CI] Fix PHP7 phpunit self update
