language: php
sudo: false

php:
  - 5.5
  - 5.6
  - 7
  - hhvm
  - hhvm-nightly

env:
  - SYMFONY_VERSION="2.7.*"
  - SYMFONY_VERSION="2.8.*"
  - SYMFONY_VERSION="3.0.*"

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

install:
   - composer self-update
   - composer require symfony/framework-bundle:${SYMFONY_VERSION} --no-update --dev
   - composer update --prefer-dist --no-interaction

script:
  - phpunit

branches:
  only:
    - master

language: php
sudo: false

php:
  - 5.5
  - 5.6
  - 7
  - hhvm
  - hhvm-nightly

env:
  - SYMFONY_VERSION="2.7.*"
  - SYMFONY_VERSION="2.8.*"
  - SYMFONY_VERSION="3.0.*"

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

install:
   - composer self-update
   - composer require symfony/framework-bundle:${SYMFONY_VERSION} --no-update --dev
   - composer update --prefer-dist --no-interaction

script:
  - vendor/bin/phpunit

branches:
  only:
    - master

Use phpunit installed by composer
Use phpunit installed by composer
