diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml new file mode 100644 index 00000000..8288ba2e --- /dev/null +++ b/bitbucket-pipelines.yml @@ -0,0 +1,20 @@ +# 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 + - apt-get update + - apt-get -qq install git-ftp + - git ftp push -u $FTP_USERNAME -p $FTP_PASSWORD $FTP_URL + caches: + - composer \ No newline at end of file