language: php
php:
  - 5.4
  - 5.6
  - 7
  - 7.1
  - 7.2
notifications:
  email: false
dist: trusty
addons:
  postgresql: "9.6"
before_script:
  - psql -c 'CREATE DATABASE test;' -U postgres
  - composer install
script: composer test && composer lint
