language: php

env:
  - SILEX_VERSION="1.0.*"
  - SILEX_VERSION="1.1.*"
  - SILEX_VERSION="1.2.*"

before_script:
  - composer require silex/silex:${SILEX_VERSION}
  - composer install --dev --prefer-source

script: vendor/bin/phpunit

php:
  - 5.3
  - 5.4
  - 5.5
language: php

env:
  - SILEX_VERSION="1.0.*"
  - SILEX_VERSION="1.1.*"
  - SILEX_VERSION="1.2.*"

before_script:
  - travis_retry composer require silex/silex:${SILEX_VERSION}
  - travis_retry composer install --dev --prefer-source

script: vendor/bin/phpunit

php:
  - 5.3
  - 5.4
  - 5.5
  - hhvm
  
matrix:
  allow_failures:
      - php: hhvm

Add HHVM to Travis config
Add HHVM to Travis config