-
-
Save onovaes/b437abc5565e34b32e55e8e8df85227c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: exileed/php-testing:7.4 | |
pipelines: | |
default: | |
- parallel: | |
- step: | |
name: CodeStyle Check | |
caches: | |
- composer | |
script: | |
- composer install | |
- composer phpcs | |
- step: | |
name: PHP Tests | |
caches: | |
- composer | |
script: | |
- composer install | |
- composer test | |
- step: | |
name: Static Analyse | |
caches: | |
- composer | |
script: | |
- composer install | |
- ./vendor/bin/phpstan analyse | |
branches: | |
master: | |
- parallel: | |
- step: | |
name: CodeStyle Check | |
caches: | |
- composer | |
script: | |
- composer install | |
- composer phpcs | |
- step: | |
name: PHP Tests | |
caches: | |
- composer | |
script: | |
- composer install | |
- composer test | |
- step: | |
name: Static Analyse | |
caches: | |
- composer | |
script: | |
- composer install | |
- ./vendor/bin/phpstan analyse | |
- step: | |
name: Deploy (Production) | |
deployment: production | |
image: | |
name: kroniak/ssh-client | |
script: | |
- ssh $DEPLOY_PRODUCTION_SSH_HOST "bla bla bla " | |
- step: | |
name: Sentry Release | |
script: | |
- pipe: sentryio/sentry-new-release:0.3.0 | |
variables: | |
SENTRY_AUTH_TOKEN: '${SENTRY_AUTH_TOKEN}' | |
SENTRY_ORG: '${SENTRY_ORG}' | |
SENTRY_PROJECT: '${SENTRY_PROJECT}' | |
ENVIRONMENT: 'prod' # Optional. | |
FINALIZE: 'true' # Optional. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment