Initial Bitbucket Pipelines configuration
This commit is contained in:
25
bitbucket-pipelines.yml
Normal file
25
bitbucket-pipelines.yml
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user