language: php

php: 
  - 5.4
  - 5.5
  - 5.6
  - 7.0
  - 7.1

## Cache composer
sudo: false

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

install:
  - travis_retry composer install --prefer-dist --no-interaction

script: vendor/bin/phpspec run
