language: php

php:
  - 5.6
  - 7.0
  - 7.1

env:
  global:
    - COMPOSER_ROOT_VERSION=dev-master
  matrix:
    - COMPOSER_OPTS=""
    - COMPOSER_OPTS="--prefer-lowest"

install:
  - composer self-update --snapshot
  - composer update $COMPOSER_OPTS

script:
  - phpunit
  - ./tests/lint.sh

git:
  depth: 5

dist: trusty
sudo: false

language: php

php:
  - 5.6
  - 7.0
  - 7.1

env:
  global:
    - COMPOSER_ROOT_VERSION=dev-master
  matrix:
    - COMPOSER_OPTS=""
    - COMPOSER_OPTS="--prefer-lowest"

install:
  - composer self-update --snapshot
  - composer update $COMPOSER_OPTS

script:
  - vendor/bin/phpunit
  - tests/lint.sh

git:
  depth: 5

dist: trusty
sudo: false

Use the local version of phpunit for testing
Use the local version of phpunit for testing
