Skip to content

Commit 674f906

Browse files
committed
Added ability to generate C code for PHP 7
1 parent 039ea73 commit 674f906

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ before_install:
4848
- bash tests/_ci/setup_dbs.sh
4949
- bash tests/_ci/install_zephir.sh
5050
- bash tests/_ci/install_beanstalkd.sh
51-
- zephir generate &> /dev/null
52-
51+
- '[[ "$TRAVIS_PHP_VERSION" == "7" ]] || zephir generate &> /dev/null'
52+
- '[[ "$TRAVIS_PHP_VERSION" != "7" ]] || zephir generate --backend=ZendEngine3 &> /dev/null'
5353

5454
before_script:
5555
- (cd ext; export CFLAGS="-g3 -O1 -std=gnu90 -Wall -DZEPHIR_RELEASE=1"; phpize &> /dev/null && ./configure --silent --enable-phalcon &> /dev/null && make --silent -j4 &> /dev/null && make --silent install)

0 commit comments

Comments
 (0)