Created
June 9, 2016 10:26
-
-
Save webbgeorge/cb9eb10b596ea3783143d1d76159f72c to your computer and use it in GitHub Desktop.
Example bitbucket pipelines config for PHP project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: phpunit/phpunit:4.6.10 | |
pipelines: | |
default: | |
- step: | |
script: | |
- pecl install xdebug && echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini | |
- composer --version | |
- composer install | |
- vendor/bin/phpunit --version | |
- vendor/bin/phpunit --coverage-text --configuration phpunit.xml | |
- vendor/bin/phpcs --standard=PSR2 src/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment