language: php

env:
  - SILEX_VERSION="~2.0"

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

script: vendor/bin/phpunit

php:
  - 5.5
  - 5.6
  - hhvm
  
matrix:
  allow_failures:
      - php: hhvm

language: php

env:
  - SILEX_VERSION="~2.0"

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

script: vendor/bin/phpunit

php:
  - 5.5
  - 5.6
  - 7.0
  - 7.1
  - 7.2
  - hhvm
  
matrix:
  allow_failures:
      - php: hhvm

Add PHP 7 to versions to test in Travis
Add PHP 7 to versions to test in Travis
