From 57423145810148c3782ba9f76b6932c6ab3366d2 Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Wed, 11 Jan 2023 06:46:28 +0000 Subject: [PATCH] Initial Bitbucket Pipelines configuration --- bitbucket-pipelines.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 bitbucket-pipelines.yml diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml new file mode 100644 index 0000000..f9c1977 --- /dev/null +++ b/bitbucket-pipelines.yml @@ -0,0 +1,25 @@ +# Template PHP Build + +# This template allows you to validate your PHP application. +# The workflow allows running tests and code linting on the default branch. + +image: composer:2.0 + + +pipelines: + default: + - parallel: + - step: + name: Test + script: + - composer install + - ./vendor/bin/phpunit test/phpUnitTests + caches: + - composer + - step: + name: Lint + script: + - composer install + - ./vendor/bin/phplint . --exclude=vendor + caches: + - composer \ No newline at end of file