Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- image: alexpfishvision/ubuntu-php7-composer
- services:
- - postgres:9.5
- variables:
- POSTGRES_DB: ugol
- POSTGRES_USER: postgres
- POSTGRES_PASSWORD: pgpass
- before_script:
- - apt-get -y --allow-unauthenticated install php7.1-pgsql
- cache:
- paths:
- - vendor/
- stages:
- - prepare
- - codeStyle
- - test
- prepare:
- stage: prepare
- script:
- - composer global require "fxp/composer-asset-plugin:^1.2.0"
- - composer install --no-interaction -vv
- - cp common/config/main-test.php common/config/main-local.php
- - cp common/config/test-docker.php common/config/test-local.php
- codeStyle:
- stage: codeStyle
- script:
- - php check-style.php
- artifacts:
- when: on_failure
- paths:
- - logs/post-push.log
- test:
- stage: test
- script:
- - php ./vendor/bin/codecept run
- artifacts:
- when: on_failure
- paths:
- - frontend/tests/_output
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement