sudo: false
dist: trusty

language: php

php:
  - 5.6
  - 7.0

env:
  - COMPOSER_OPTS=""
  - COMPOSER_OPTS="--prefer-lowest"

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

services:
  - mongodb
  - mysql
  - postgresql

before_script:
  - tests/travis.sh

script:
  - php vendor/bin/phpunit -v
  - php vendor/bin/phpunit --group functional -v
  - php vendor/bin/phpspec run

sudo: false
dist: trusty

language: php

php:
  - 5.6
  - 7.0
  - 7.1
  - 7.2

env:
  - COMPOSER_OPTS=""
  - COMPOSER_OPTS="--prefer-lowest"

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

services:
  - mongodb
  - mysql
  - postgresql

before_script:
  - tests/travis.sh

script:
  - php vendor/bin/phpunit -v
  - php vendor/bin/phpunit --group functional -v
  - php vendor/bin/phpspec run

Add builds for PHP 7.x
Add builds for PHP 7.x
