language: php
dist: trusty
php:
  - '5.6'
  - '7.0'
  - '7.1'
  - '7.2'
  - nightly
  - hhvm
sudo: false
before_script:
    - composer self-update
    - composer install --prefer-source --no-interaction
script:
  - vendor/bin/phpcs src tests --standard=PSR2
  - tests/scripts/cacert.sh
  - vendor/bin/phpunit
