language: php

php:
  - 5.3
  - 5.4

before_script:
  - pear config-set auto_discover 1
  - pear channel-discover pear.phpspec.net
  - pear install phpspec/PHPSpec
  - phpenv rehash

script: phpspec src/spec --bootstrap src/spec/bootstrap.php

language: php

php:
  - 5.3
  - 5.4

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*||"`

  # PHPSpec
  - pear config-set auto_discover 1
  - pear channel-discover pear.phpspec.net
  - pear install phpspec/PHPSpec
  - phpenv rehash

script: phpspec src/spec --bootstrap src/spec/bootstrap.php

Install the Runkit PHP extension before building.
Install the Runkit PHP extension before building.