language: php

env:
  - NETTE=default # 2.2 dev
  - NETTE=nette-2.2

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

matrix:
  allow_failures:
    - php: hhvm

before_script:
  - php tests/travis/prepare-composer.php
  - composer self-update
  - composer install --no-interaction --prefer-source --dev
  - vendor/bin/parallel-lint -e php --exclude vendor .

script: vendor/bin/phpunit --configuration tests/phpunit.xml tests
