language: php

php:
    - 7.1
    - 7.0
    - 5.6
    - nightly

matrix:
    allow_failures:
        - php: nightly
    fast_finish: true

cache:
    directories:
        - vendor

before_install:
    - phpenv config-rm xdebug.ini || true

install:
    - composer update --prefer-dist

script:
    - composer validate --strict

language: php

php:
    - 7.1
    - 7.0
    - 5.6
    - nightly

matrix:
    allow_failures:
        - php: nightly
    fast_finish: true

cache:
    directories:
        - vendor

before_install:
    - phpenv config-rm xdebug.ini || true

install:
    - composer update --prefer-dist

script:
    - composer validate --strict

    - vendor/bin/phpunit
    - vendor/bin/phpspec run

Add PhpUnit and PhpSpec to be run by Travis CI
Add PhpUnit and PhpSpec to be run by Travis CI
