language: php

php:
  - 5.3.3
  - 5.3
  - 5.4
  - 5.5
  - 5.6
  - 7.0
  - hhvm
  - hhvm-nightly

before_script:
  - composer --prefer-source install

script:
  - ./vendor/bin/phpunit

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

language: php

sudo: false

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

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

before_script:
  - composer --prefer-source install

script:
  - ./vendor/bin/phpunit

matrix:
  allow_failures:
    - php: 7.0

Remove the hhvm-nightly job from the matrix
Remove the hhvm-nightly job from the matrix

hhvm-nightly is not available anymore on Travis for now, because HHVM dropped support for Ubuntu 10.04.

This also switches to the new Travis infrastructure