language: php

php:
    - 5.4
    - 5.5

env:
    - INSTALL_PHP_INVOKER=0
    - INSTALL_PHP_INVOKER=1

before_script:
    - composer install --dev --prefer-source
    - mkdir -p vendor/SebastianBergmann/
    - ls vendor/sebastian | while read DIR; do ln -s $(pwd)/vendor/sebastian/$DIR/src vendor/SebastianBergmann/${DIR^}; done
    - sh -c "if [ '$INSTALL_PHP_INVOKER' = '1' ]; then git clone --branch=master --depth=100 --quiet git://github.com/sebastianbergmann/php-invoker.git vendor/php-invoker; fi"

script: php -d include_path=vendor:vendor/php-invoker -d auto_prepend_file=vendor/autoload.php ./phpunit.php --configuration ./build/travis-ci.xml

notifications:
  email: false
  irc: "irc.freenode.org#phpunit"

language: php

php:
    - 5.4

env:
    - INSTALL_PHP_INVOKER=0
    - INSTALL_PHP_INVOKER=1

before_script:
    - composer install --dev --prefer-source
    - mkdir -p vendor/SebastianBergmann/
    - ls vendor/sebastian | while read DIR; do ln -s $(pwd)/vendor/sebastian/$DIR/src vendor/SebastianBergmann/${DIR^}; done
    - sh -c "if [ '$INSTALL_PHP_INVOKER' = '1' ]; then git clone --branch=master --depth=100 --quiet git://github.com/sebastianbergmann/php-invoker.git vendor/php-invoker; fi"

script: php -d include_path=vendor:vendor/php-invoker -d auto_prepend_file=vendor/autoload.php ./phpunit.php --configuration ./build/travis-ci.xml

notifications:
  email: false
  irc: "irc.freenode.org#phpunit"

Revert "Also test with PHP 5.5"
Revert "Also test with PHP 5.5"

This reverts commit 1af126c4066e340f0c4e3e66d276d85dda24ea7e.
