language: php

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

before_script:
  - travis_retry composer self-update
  - travis_retry composer install --prefer-source --no-interaction

script:
  - composer test

# Use Docker environment
sudo: false

# Setup build matrix
language: php
php:
  - 5.6
  - 7.0
  - hhvm

env:
  matrix:
    - PREFER_LOWEST="--prefer-lowest"
    - PREFER_LOWEST=""

# Dependencies
before_install:
  - travis_retry composer self-update

install:
  - travis_retry composer update --no-interaction --prefer-source $PREFER_LOWEST

script:
  - composer test
  - composer lint -- --dry-run

# Cache dependencies
cache:
  directories:
    - $HOME/.composer/cache

Remove extra versions from Travis file
Remove extra versions from Travis file
