Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/.project
/.settings
/vendor
/.project
/.settings
/vendor
/nbproject/
/composer.lock
9 changes: 4 additions & 5 deletions bin/install-phalcon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,14 @@ if [[ $PHP_VER == 7* ]]; then
# Therefore, since Zephir uses global PHP, ensure we set globally.
phpenv global ${PHP_VER}

# Clean parsers
cd ${CI_APP_DIR}/vendor/phalcon/zephir/parser
phpize --clean
# Clean parsers in older versions
(cd ${CI_APP_DIR}/vendor/phalcon/zephir/parser && phpize --clean) || true

# Compile
cd ${PHALCON_DIR}

${CI_APP_DIR}/vendor/phalcon/zephir/bin/zephir compile --backend=ZendEngine3
${CI_APP_DIR}/vendor/bin/zephir compile --backend=ZendEngine3

# Install
cd ${PHALCON_DIR}/ext
# Using debug flags (Production flags: "-O2 -fvisibility=hidden -Wparentheses -DZEPHIR_RELEASE=1")
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"Codeship"
],
"require": {
"php": "^5.4|^5.5|^5.6|^7.0",
"phalcon/zephir": "^0.9.6"
"php": "^5.4|^7.0",
"phalcon/zephir": ">=0.9.6 <1"
},
"require-dev": {
"phpunit/phpunit": "~3.7"
"phpunit/phpunit": "^3.7|^4|^5|^6|^7|^8"
},
"bin": [
"bin/install-phalcon.sh"
Expand Down
Loading