Browse Source

Initial Bitbucket Pipelines configuration

pull/1/head
Nafies Luthfi 8 years ago
parent
commit
d6e07daa2f
  1. 17
      bitbucket-pipelines.yml

17
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
Loading…
Cancel
Save