2011-11-13 11:41:30 -06:00
|
|
|
language: php
|
|
|
|
php:
|
|
|
|
- 5.3
|
|
|
|
- 5.4
|
|
|
|
before_script:
|
2012-05-09 14:47:45 -07:00
|
|
|
- curl --version
|
2012-05-10 21:30:09 -07:00
|
|
|
- echo 'Installing pecl_http'
|
|
|
|
- wget --quiet http://pecl.php.net/get/pecl_http-1.7.4.tgz
|
|
|
|
- tar -xzf pecl_http-1.7.4.tgz
|
2012-06-02 21:56:23 -07:00
|
|
|
- sh -c "cd pecl_http-1.7.4 && phpize && ./configure && make && sudo make install" > /dev/null
|
2012-05-10 21:30:09 -07:00
|
|
|
- echo "extension=http.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
|
|
|
|
- echo 'Installing composer'
|
2012-01-14 13:57:05 -06:00
|
|
|
- wget --quiet http://getcomposer.org/composer.phar
|
2012-04-16 15:13:53 -07:00
|
|
|
- php composer.phar install --dev
|
2011-11-13 11:41:30 -06:00
|
|
|
- cp phpunit.xml.dist phpunit.xml
|
2012-05-10 21:30:09 -07:00
|
|
|
- echo 'Ensuring the correct version of node is running'
|
2012-03-26 21:53:51 -05:00
|
|
|
- ~/.nvm/nvm.sh install v0.6.14
|
|
|
|
- ~/.nvm/nvm.sh run v0.6.14 tests/Guzzle/Tests/Http/server.js &
|
2012-06-02 21:56:23 -07:00
|
|
|
script: phpunit
|