|
|
@ -1,4 +1,4 @@ |
|
|
|
image: tetraweb/php:5.6 |
|
|
|
image: juban/yii2-php-56:1.0.0 |
|
|
|
|
|
|
|
|
|
|
|
cache: |
|
|
|
cache: |
|
|
|
key: "$CI_BUILD_NAME_$CI_BUILD_REF_NAME" |
|
|
|
key: "$CI_BUILD_NAME_$CI_BUILD_REF_NAME" |
|
|
@ -11,16 +11,6 @@ stages: |
|
|
|
- test |
|
|
|
- test |
|
|
|
- deploy |
|
|
|
- deploy |
|
|
|
|
|
|
|
|
|
|
|
before_script: |
|
|
|
|
|
|
|
# enable needed php extensions |
|
|
|
|
|
|
|
- docker-php-ext-enable mbstring zip xdebug |
|
|
|
|
|
|
|
# composer update |
|
|
|
|
|
|
|
- composer self-update && composer --version |
|
|
|
|
|
|
|
- composer global require --no-interaction hirak/prestissimo |
|
|
|
|
|
|
|
- composer global require --no-interaction "fxp/composer-asset-plugin:~1.2.0" |
|
|
|
|
|
|
|
- composer global require --no-interaction phpunit/php-code-coverage |
|
|
|
|
|
|
|
- export PATH="$HOME/.composer/vendor/bin:$PATH" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
build: |
|
|
|
build: |
|
|
|
stage: build |
|
|
|
stage: build |
|
|
|
script: |
|
|
|
script: |
|
|
|