language: php
php:
  - 5.4
  - 5.5
  - 5.6
  - hhvm
  - 7.0
matrix:
    allow_failures:
        - php: 7.0
    fast_finish: true
sudo: false
cache:
  directories:
    - $HOME/.composer/cache
install:
  - composer install --no-interaction
  - travis_wait composer update --prefer-lowest --no-interaction
script:
  - ./vendor/bin/phpunit -c ./phpunit.xml --coverage-text

language: php

sudo: false

php:
  - 5.4
  - 5.5
  - 5.6
  - hhvm
  - 7.0

matrix:
  allow_failures:
    - php: 7.0
  fast_finish: true

env:
  - COMPOSER_LOWEST=0
  - COMPOSER_LOWEST=1

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

install:
  - composer install --no-interaction
  - if [ "$COMPOSER_LOWEST" = 1 ]; then travis_wait composer update --prefer-lowest --no-interaction; fi

script:
  - ./vendor/bin/phpunit -c ./phpunit.xml --coverage-text

Test with normal 'composer install' too
Test with normal 'composer install' too
