From d6e07daa2f2385a137577f18e83e4f6bd5eee56d Mon Sep 17 00:00:00 2001 From: Nafies Luthfi Date: Tue, 29 Aug 2017 13:50:18 +0000 Subject: [PATCH] Initial Bitbucket Pipelines configuration --- bitbucket-pipelines.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 bitbucket-pipelines.yml diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml new file mode 100644 index 0000000..13f5cc8 --- /dev/null +++ b/bitbucket-pipelines.yml @@ -0,0 +1,17 @@ +# 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.0.18 + +pipelines: + default: + - step: + 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/phpunit \ No newline at end of file