language: php
dist: xenial
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
matrix:
  allow_failures:
  - php: nightly

language: php
dist: xenial
php:
  - '7.2'
  - '7.3'
  - nightly
sudo: false
before_script:
  - composer self-update
  - composer install --prefer-source --no-interaction
script: vendor/bin/phpunit
matrix:
  allow_failures:
    - php: nightly
  include:
    - name: Lint
      script: vendor/bin/phpcs src tests --standard=PSR2
    - name: cacert.pem current
      script: tests/scripts/cacert.sh

Use build matrix on Travis
Use build matrix on Travis
