language: php

php:
  - 5.3
  - 5.4
  - 5.5

script:
    - composer self-update
    - composer update -n --prefer-source
    - ./bin/phpspec run -f progress

language: php

matrix:
  include:
    - php: 5.3
      env: DEPENDENCIES='low'
    - php: 5.3
    - php: 5.4
    - php: 5.5
    - php: 5.6
    - php: hhvm
    - php: hhvm-nightly
  allow_failures:
    - php: hhvm-nightly
    - env: DEPENDENCIES='low'

before_install:
  - composer self-update

install:
  - export COMPOSER_ROOT_VERSION=dev-master
  - if [ "$DEPENDENCIES" != "low" ]; then composer update; fi;
  - if [ "$DEPENDENCIES" == "low" ]; then composer update --prefer-lowest; fi;

script:
  - ./bin/phpspec run --format=pretty

Test lowest version of dependencies
Test lowest version of dependencies
