language: php

php:
  - 5.6
  - 5.5
  - 7

env:
    matrix:
        - COMPOSER_FLAGS=""
        - COMPOSER_FLAGS="--prefer-lowest"


notification:
    email: false

install:
    - composer install $COMPOSER_FLAGS

script: make test

language: php

php:
  - 5.6
  - 5.5
  - 7

env:
    matrix:
        - COMPOSER_FLAGS=""
        - COMPOSER_FLAGS="--prefer-lowest"

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

notifications:
    email: false

install:
    - composer update $COMPOSER_FLAGS

script: make test

Use Update to Get the `--prefer-lowest` Flag on Travis
Use Update to Get the `--prefer-lowest` Flag on Travis

Also add the composer cache directory to Travi's cache.
