language: php

matrix:
  include:
    - php: 5.3
    - php: 5.4
    - php: 5.5
      env: COMPOSER_OPTS="--prefer-lowest"
    - php: 5.6
    - php: 7.0
    - php: hhvm

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -y bash zsh

install:
  - composer self-update
  - composer update $COMPOSER_OPTS

script:
  - phpunit tests

language: php

matrix:
  include:
    - php: 5.4
    - php: 5.5
      env: COMPOSER_OPTS="--prefer-lowest"
    - php: 5.6
    - php: 7.0
    - php: 7.1
    - php: 7.2
    - php: hhvm
      env: COMPOSER_OPTS="--prefer-lowest"

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -y bash zsh

install:
  - composer self-update
  - composer update $COMPOSER_OPTS

script:
  - vendor/bin/phpunit

Update PHP versions in CI
Update PHP versions in CI

5.3 unsupported by Travis CI now
7.2 is RC
HVVM is 5.6 based and I think that -prefer-lowest is enough nowadays
