-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0"?> | ||
<project name="SolrQueryComponent" default="build"> | ||
<target name="build" description="Run CI jobs" depends="clean,prepare,phpunit,phpcs"/> | ||
|
||
<target name="clean"> | ||
<delete dir="${basedir}/build/" includes="**/*" excludes="**/.gitkeep"/> | ||
<mkdir dir="${basedir}/build/logs/"/> | ||
<mkdir dir="${basedir}/build/coverage/"/> | ||
</target> | ||
|
||
<target name="prepare"> | ||
<get src="http://getcomposer.org/composer.phar" dest="build/composer.phar"/> | ||
<exec executable="php" failonerror="true"> | ||
<arg value="build/composer.phar"/> | ||
<arg value="install"/> | ||
<arg value="--dev"/> | ||
</exec> | ||
</target> | ||
|
||
<target name="phpunit"> | ||
<exec executable="phpunit" failonerror="true"> | ||
<arg line="--exclude-group performance"/> | ||
</exec> | ||
</target> | ||
|
||
<target name="phpcs"> | ||
<exec executable="./vendor/bin/phpcs" failonerror="true"> | ||
<arg value="--standard=vendor/internations/kodierungsregelwerksammlung/ruleset.xml"/> | ||
<arg value="--report=checkstyle" /> | ||
<arg value="--report-file=${basedir}/build/logs/checkstyle.xml" /> | ||
<arg value="./src/"/> | ||
</exec> | ||
</target> | ||
</project> |
Empty file.
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