summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHannes Kindströmmer <hannes@kindstrommer.se>2017-03-09 18:18:38 +0100
committerHannes Kindströmmer <hannes@kindstrommer.se>2017-03-09 18:18:38 +0100
commit6b42c2e6f3392aec5c452cd7966879100ee41c67 (patch)
tree2cb11c8f2ab3d1ee9db5424058541cc0d1304601
parent6229a44083ddc36aae17a5c3400a826a11c30550 (diff)
downloadip1-php-sdk-6b42c2e6f3392aec5c452cd7966879100ee41c67.zip
ip1-php-sdk-6b42c2e6f3392aec5c452cd7966879100ee41c67.tar.gz
ip1-php-sdk-6b42c2e6f3392aec5c452cd7966879100ee41c67.tar.bz2
Add custom pipeline
-rw-r--r--bitbucket-pipelines.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml
index a787dc3..6ceab28 100644
--- a/bitbucket-pipelines.yml
+++ b/bitbucket-pipelines.yml
@@ -25,3 +25,12 @@ pipelines:
- vendor/bin/phpunit
- vendor/bin/phpcs src --standard=codestandard.xml
- vendor/bin/phpcs tests --standard=codestandard.xml
+ custom:
+ master-preparation:
+ - step:
+ script:
+ - apt-get update && apt-get install -y unzip git
+ - curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
+ - composer install
+ - vendor/bin/phpunit
+ - vendor/bin/phpcs src --standard=codestandard.xml