mirror of
https://github.com/guzzle/guzzle.git
synced 2025-02-25 18:43:22 +01:00
23 lines
688 B
YAML
23 lines
688 B
YAML
language: php
|
|
|
|
php:
|
|
- 5.3
|
|
- 5.4
|
|
- 5.5
|
|
|
|
before_script:
|
|
- curl --version
|
|
- pear config-set php_ini ~/.phpenv/versions/`php -r 'echo phpversion();'`/etc/php.ini
|
|
- echo 'Installing pecl_http'
|
|
- wget --quiet http://pecl.php.net/get/pecl_http-1.7.6.tgz
|
|
- tar -xzf pecl_http-1.7.6.tgz
|
|
- sh -c "cd pecl_http-1.7.6 && phpize && ./configure && make && sudo make install" > /dev/null
|
|
- echo "extension=http.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
|
|
- pecl install uri_template-beta
|
|
- phpenv rehash
|
|
- composer install --dev
|
|
- echo 'Ensuring the correct version of node is running'
|
|
- ~/.nvm/nvm.sh install v0.6.14
|
|
|
|
script: vendor/bin/phpunit
|