File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,14 @@ tests-php5.6:
2222 - name : " $CI_REGISTRY_IMAGE:server-test"
2323 alias : server_test
2424 script :
25- - apk add --no-cache composer php5-cli php5-curl php5-gd php5-phar php5-json php5-openssl php5-dom php5-xml php5-zlib
25+ - apk add --no-cache php5-cli php5-curl php5-gd php5-phar php5-json php5-openssl php5-dom php5-xml php5-zlib
2626 - ln -s /usr/bin/php5 /usr/bin/php
2727 - php --version
28- - composer install
28+ - if [ ! -f composer.phar ]; then DOWLOAD_COMPOSER=1 ; fi;
29+ - if [ -n "$DOWLOAD_COMPOSER" ] ; then php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" ; fi;
30+ - if [ -n "$DOWLOAD_COMPOSER" ] ; then php composer-setup.php ; fi;
31+ - if [ -n "$DOWLOAD_COMPOSER" ] ; then php -r "unlink('composer-setup.php');" ; fi;
32+ - php composer.phar install
2933 - vendor/bin/phpcs --warning-severity=0 --standard=PSR2 src
3034 - vendor/bin/phpunit
3135 cache :
You can’t perform that action at this time.
0 commit comments