Skip to content

Commit

Permalink
Compile PHP 7 with curl to satisfy guzzle later on when installing
Browse files Browse the repository at this point in the history
  • Loading branch information
padraic committed Feb 15, 2015
1 parent d30ea14 commit c693ccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ cache:
- $HOME/.composer/cache

before_install:
- if [[ "$TRAVIS_PHP_VERSION" == "5.3.3" ]]; then pushd $HOME; git clone https://github.com/php/php-src.git; pushd php-src; ./buildconf -f; ./configure --prefix=$HOME/.phpenv/versions/7 && make && make install; phpenv global 7; popd; popd; php --version; echo Travis PHP Version is $TRAVIS_PHP_VERSION; wget http://getcomposer.org/composer.phar; mkdir $PWD/phar; mv composer.phar $PWD/phar/composer; chmod +x $PWD/phar/composer; export PATH=$PWD/phar:$PATH; fi
- if [[ "$TRAVIS_PHP_VERSION" == "5.3.3" ]]; then pushd $HOME; git clone https://github.com/php/php-src.git; pushd php-src; ./buildconf -f; ./configure --with-curl --prefix=$HOME/.phpenv/versions/7 && make && make install; phpenv global 7; popd; popd; php --version; echo Travis PHP Version is $TRAVIS_PHP_VERSION; wget http://getcomposer.org/composer.phar; mkdir $PWD/phar; mv composer.phar $PWD/phar/composer; chmod +x $PWD/phar/composer; export PATH=$PWD/phar:$PATH; fi

install:
- if [[ "$TRAVIS_PHP_VERSION" == "5.3.3" ]]; then echo PATH is $PATH; fi
Expand Down

0 comments on commit c693ccf

Please sign in to comment.