I'm trying to run travis build with phalcon extension for vegas-cmf. What is really cool, before_install process going smooth, but when it comes to composer, I have troubles:
$ sudo php composer.phar install --dev --no-interaction Loading composer repositories with package information Reading composer.json of phalcon/devtools (1.0.0)Installing dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem 1 - The requested PHP extension ext-phalcon >=1.3.0,<2 is missing from your system. Problem 2 - Installation request for phalcon/incubator dev-master -> satisfiable by phalcon/incubator[dev-master]. - phalcon/incubator dev-master requires ext-phalcon >=1.2.4 -> the requested PHP extension phalcon is missing from your system. The command "sudo php composer.phar install --dev --no-interaction" failed and exited with 2 during . Your build has been stopped.
My .travis.yml looks like this:
language: php php: - 5.5 - 5.4 services: - mongodb - memcached before_install: - sudo apt-get install php5-dev libpcre3-dev gcc make php5-mysql - git clone --depth=1 git://github.com/phalcon/cphalcon.git - cd cphalcon/build - sudo ./install - cd ../.. - echo "extension=phalcon.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - sudo service php5-fpm restart install: - curl -s https://getcomposer.org/installer | php - sudo php composer.phar install --dev --no-interaction script: - mkdir -p build/logs - php vendor/bin/phpunit -c travis.phpunit.xml.dist after_script: - php vendor/bin/coveralls -v
Any idea why composer doesn't see phalcon extenstion?