File tree Expand file tree Collapse file tree 5 files changed +17
-1
lines changed
Expand file tree Collapse file tree 5 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -55,3 +55,6 @@ parser/parser.php5.out
5555parser /parser.php7.c
5656parser /parser.php7.h
5757parser /parser.php7.out
58+
59+ vendor
60+ composer.lock
Original file line number Diff line number Diff line change 4949
5050install :
5151 - bash ./tests/ci/install-travis
52+ - composer --prefer-source install
5253
5354before_install :
5455 - if [[ ! -z "${GH_TOKEN}" ]]; then composer config github-oauth.github.com ${GH_TOKEN}; echo "Configured Github token"; fi;
Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ environment:
1111 PHP_VC : 11
1212 platform : x86
1313
14+ cache :
15+ - vendor -> composer.json
16+
1417os : Windows Server 2012 R2
1518clone_folder : c:\projects\php-zephir-parser
1619
@@ -65,6 +68,9 @@ install:
6568 - ' echo extension=php_gmp.dll >> php.ini'
6669 - ' set PATH=%cd%;%PATH%'
6770
71+ - echo Install dev dependencies
72+ - if not exist vendor (php -r "readfile('https://getcomposer.org/installer');" | php & php composer.phar --prefer-source install)
73+
6874build_script :
6975 - cd %APPVEYOR_BUILD_FOLDER%
7076 - ' %PHP_DEVPACK%\\phpize --clean'
Original file line number Diff line number Diff line change 1+ {
2+ "require" : {
3+ "phpunit/phpunit" : " ^4.8"
4+ }
5+ }
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ RE2C_BIN=$(command -v re2c 2>/dev/null)
3434CCACHE_BIN=$( command -v ccache 2> /dev/null)
3535PHPIZE_BIN=$( command -v phpize 2> /dev/null)
3636PHPCONFIG_BIN=$( command -v php-config 2> /dev/null)
37+ SACN_BUILD_BIN=$( command -v scan-build 2> /dev/null)
3738
3839if [ x" $RE2C_BIN " = x ]; then
3940 echo -e " error: unable to locate the re2c"
@@ -167,7 +168,7 @@ ${PHPIZE_BIN}
167168 --with-php-config=${PHPCONFIG_BIN} \
168169 --enable-zephir_parser
169170
170- make -s - j" $( getconf _NPROCESSORS_ONLN) "
171+ make -j" $( getconf _NPROCESSORS_ONLN) "
171172
172173make test CFLAGS=" -O0 -g" NO_INTERACTION=1
173174
You can’t perform that action at this time.
0 commit comments