Repository Config
build:
dependencies:
before:
- currentDir=$(pwd)
- tempDir=$(mktemp -d)
- curl -sSL -o "$tempDir/cphalcon" https://codeload.github.com/phalcon/cphalcon/tar.gz/v3.4.3
- tar -C "$tempDir" -xzf "$tempDir/cphalcon"
- cd "$tempDir"/cphalcon-3.4.3/build
- ./install
- cd "$currentDir"
- rm -rf "$tempDir"
- echo 'extension=phalcon.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
nodes:
analysis:
environment:
php:
version: 7.2
cache:
directories:
- ~/.composer/cache
project_setup:
override: true
tests:
override:
- php-scrutinizer-run
checks:
php: true