language: php

sudo: false

dist: trusty

git:
  depth: 5

php:
  - 5.4
  - 5.5
  - 5.6
  - 7.0
  - 7.1
  - 7.2
  - 7.3
  - nightly

env:
  - DEPS=latest
  - DEPS=lowest

jobs:
  include:
    - dist: precise
      php: 5.3
  fast_finish: true
  allow_failures:
    - php: nightly

before_script:
  - composer self-update
  - composer update --prefer-$DEPS

script:
  - vendor/bin/composer test

language: php

dist: trusty

git:
  depth: 5

php:
  - 5.4
  - 5.5
  - 5.6
  - 7.0
  - 7.1
  - 7.2
  - 7.3
  - nightly

env:
  - DEPS=--prefer-lowest
  - DEPS=

jobs:
  include:
    - dist: precise
      php: 5.3
      env: DEPS=
    - dist: precise
      php: 5.3
      env: DEPS=--prefer-lowest
  fast_finish: true
  allow_failures:
    - php: nightly

before_script:
  - composer self-update
  - composer update $DEPS

script:
  - vendor/bin/composer test

Fix deps in build matrix
Fix deps in build matrix
