Skip to content

Commit

Permalink
Configure and install security checker
Browse files Browse the repository at this point in the history
The checker will run on CI builds
  • Loading branch information
MKodde committed Jan 21, 2019
1 parent 0a0dd26 commit 44c6d80
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<project name="StepupSelfService-ci" default="build">
<target name="build"
depends="php-lint-ci,phpmd-ci,phpcs-ci,phpcpd-ci,phpunit-ci"/>
depends="php-lint-ci,phpmd-ci,phpcs-ci,phpcpd-ci,phpunit-ci,security-tests"/>

<target name="get-changeset.php.raw"
description="creates a list of changed php files separated by newline">
Expand Down Expand Up @@ -82,4 +82,9 @@
</exec>
</target>

<target name="security-tests">
<exec executable="vendor/bin/security-checker" failonerror="true">
<arg line="security:check" />
</exec>
</target>
</project>

0 comments on commit 44c6d80

Please sign in to comment.