Skip to content

Instantly share code, notes, and snippets.

@mrkrstphr
Created November 8, 2014 19:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrkrstphr/a7df2c17b6134233ce38 to your computer and use it in GitHub Desktop.
Save mrkrstphr/a7df2c17b6134233ce38 to your computer and use it in GitHub Desktop.
Sample Martha Configuration File
build:
-
command: curl -s https://getcomposer.org/installer | php
stopOnFailure: true
-
command: php composer.phar install --prefer-dist --dev
stopOnFailure: true
-
command: phploc --log-xml=${outputdir}/phploc.xml module/
markBuildFailed: false
-
command: ./vendor/bin/phpcs --standard=PSR2 --report=checkstyle --report-file=${outputdir}/checkstyle.xml src/
artifacts:
phploc: ${outputdir}/phploc.xml
phpcs: ${outputdir}/checkstyle.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment