language: php

php:
  - 5.4
  - 5.5

before_script:
  # Runkit
  - git clone https://github.com/zenovich/runkit.git
  - sh -c "cd runkit && phpize && ./configure && make && sudo make install"
  - echo "extension=runkit.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`

  # Composer
  - curl -s http://getcomposer.org/installer | php
  - php composer.phar install --dev

script: php vendor/bin/phpspec.php test/

language: php

php:
  - 5.4
  - 5.5

before_script:
  # Runkit
  - git clone https://github.com/zenovich/runkit.git
  - sh -c "cd runkit && phpize && ./configure && make && sudo make install"
  - echo "extension=runkit.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`

  # Composer
  - curl -s http://getcomposer.org/installer | php
  - php composer.phar install --dev

script: vendor/bin/phpunit test/

Make Travis CI run the PHPUnit tests
Make Travis CI run the PHPUnit tests
