language: php
php:
    - 5.4
    - 5.5

branches:
    only:
        - master

before_script:
    - composer update --prefer-source --dev

script:
    - bin/phpspec run -fpretty

notifications:
    webhooks:
        urls:
            - https://webhooks.gitter.im/e/dd240af232144434bff2
        on_success: change  # options: [always|never|change] default: always
        on_failure: always  # options: [always|never|change] default: always
        on_start: false     # default: false

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

matrix:
    allow_failures:
        - php: 7.0
        - php: hhvm

branches:
    only:
        - master

env:
    - deps=low
    - deps=high

before_script:
    - composer self-update
    - if [ "$deps" = "high" ]; then composer update --prefer-source --no-interaction; fi;
    - if [ "$deps" = "low" ]; then composer update --prefer-source --prefer-lowest --prefer-stable --no-interaction; fi;

script:
    - bin/phpspec run -fpretty

notifications:
    webhooks:
        urls:
            - https://webhooks.gitter.im/e/dd240af232144434bff2
        on_success: change  # options: [always|never|change] default: always
        on_failure: always  # options: [always|never|change] default: always
        on_start: false     # default: false

Test lowest and highest deps
Test lowest and highest deps
