Files
szkoleniauryzaj.pl/wp-content/plugins/wp-file-download-light/framework/bitbucket-pipelines.yml
2024-11-10 21:08:49 +01:00

21 lines
721 B
YAML

# This is a sample build configuration for PHP.
# Check our guides at https://confluence.atlassian.com/x/e8YWN for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: php:7.1.1
pipelines:
custom:
phpcs: &sharedphpcs
- step:
name: Phpcs
caches:
- composer
script:
- apt-get update && apt-get install -y unzip
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
- composer install
- vendor/bin/phpcs -s .
branches:
'{master,development}': *sharedphpcs