language: php
dist: trusty
php:
  - '7.2'
  - '7.3'
  - nightly
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
