MAPG-94 create Bitbucket pipeline for unit testing

This commit is contained in:
Bence Pőcze 2020-06-25 00:28:11 +02:00
parent 500ec958cb
commit 17658f70ba

15
bitbucket-pipelines.yml Normal file
View File

@ -0,0 +1,15 @@
image: php:7.4.7-cli-buster
pipelines:
default:
- step:
name: Unit Testing
caches:
- composer
artifacts:
- vendor/**
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 --testdox tests