mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-16 10:22:14 +01:00
commit
73b7744383
6
.gitignore
vendored
6
.gitignore
vendored
@ -26,9 +26,9 @@
|
|||||||
/web/bundles/
|
/web/bundles/
|
||||||
/web/uploads/
|
/web/uploads/
|
||||||
|
|
||||||
# PHPUnit
|
# Build
|
||||||
/app/phpunit.xml
|
/app/build
|
||||||
/phpunit.xml
|
/build
|
||||||
|
|
||||||
# Composer PHAR
|
# Composer PHAR
|
||||||
/composer.phar
|
/composer.phar
|
||||||
|
@ -14,5 +14,5 @@ before_script:
|
|||||||
- echo 'date.timezone = "Europe/Paris"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
- echo 'date.timezone = "Europe/Paris"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ant -f app/build.xml prepare
|
- ant prepare
|
||||||
- phpunit -c app --coverage-text
|
- phpunit --coverage-text
|
||||||
|
@ -11,31 +11,30 @@
|
|||||||
<arg value="install"/>
|
<arg value="install"/>
|
||||||
<arg value="--no-interaction"/>
|
<arg value="--no-interaction"/>
|
||||||
<arg value="--no-progress"/>
|
<arg value="--no-progress"/>
|
||||||
<arg value="--working-dir=.."/>
|
|
||||||
</exec>
|
</exec>
|
||||||
<exec executable="php">
|
<exec executable="php">
|
||||||
<arg value="${basedir}/../app/console"/>
|
<arg value="${basedir}/app/console"/>
|
||||||
<arg value="doctrine:database:drop"/>
|
<arg value="doctrine:database:drop"/>
|
||||||
<arg value="--force"/>
|
<arg value="--force"/>
|
||||||
<arg value="--env=test"/>
|
<arg value="--env=test"/>
|
||||||
</exec>
|
</exec>
|
||||||
<exec executable="php">
|
<exec executable="php">
|
||||||
<arg value="${basedir}/../app/console"/>
|
<arg value="${basedir}/app/console"/>
|
||||||
<arg value="doctrine:database:create"/>
|
<arg value="doctrine:database:create"/>
|
||||||
<arg value="--env=test"/>
|
<arg value="--env=test"/>
|
||||||
</exec>
|
</exec>
|
||||||
<exec executable="php">
|
<exec executable="php">
|
||||||
<arg value="${basedir}/../app/console"/>
|
<arg value="${basedir}/app/console"/>
|
||||||
<arg value="doctrine:schema:create"/>
|
<arg value="doctrine:schema:create"/>
|
||||||
<arg value="--env=test"/>
|
<arg value="--env=test"/>
|
||||||
</exec>
|
</exec>
|
||||||
<exec executable="php">
|
<exec executable="php">
|
||||||
<arg value="${basedir}/../app/console"/>
|
<arg value="${basedir}/app/console"/>
|
||||||
<arg value="cache:clear"/>
|
<arg value="cache:clear"/>
|
||||||
<arg value="--env=test"/>
|
<arg value="--env=test"/>
|
||||||
</exec>
|
</exec>
|
||||||
<exec executable="php">
|
<exec executable="php">
|
||||||
<arg value="${basedir}/../app/console"/>
|
<arg value="${basedir}/app/console"/>
|
||||||
<arg value="doctrine:fixtures:load"/>
|
<arg value="doctrine:fixtures:load"/>
|
||||||
<arg value="--no-interaction"/>
|
<arg value="--no-interaction"/>
|
||||||
<arg value="--env=test"/>
|
<arg value="--env=test"/>
|
@ -9,23 +9,27 @@
|
|||||||
processIsolation="false"
|
processIsolation="false"
|
||||||
stopOnFailure="false"
|
stopOnFailure="false"
|
||||||
syntaxCheck="false"
|
syntaxCheck="false"
|
||||||
bootstrap="bootstrap.php.cache"
|
bootstrap="app/bootstrap.php.cache"
|
||||||
>
|
>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="wallabag Test Suite">
|
<testsuite name="wallabag Test Suite">
|
||||||
<directory>../src/Wallabag/CoreBundle/Tests</directory>
|
<directory>./src/Wallabag/*Bundle/Tests</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
|
|
||||||
|
<php>
|
||||||
|
<server name="KERNEL_DIR" value="./app/" />
|
||||||
|
</php>
|
||||||
|
|
||||||
<filter>
|
<filter>
|
||||||
<whitelist>
|
<whitelist>
|
||||||
<directory>../src</directory>
|
<directory>./src</directory>
|
||||||
<exclude>
|
<exclude>
|
||||||
<directory>../vendor</directory>
|
<directory>./vendor</directory>
|
||||||
<directory>../src/Wallabag/CoreBundle/Resources</directory>
|
<directory>./src/Wallabag/*Bundle/Resources</directory>
|
||||||
<directory>../src/Wallabag/CoreBundle/Tests</directory>
|
<directory>./src/Wallabag/*Bundle/Tests</directory>
|
||||||
<directory>../src/Wallabag/CoreBundle/DataFixtures</directory>
|
<directory>./src/Wallabag/*Bundle/DataFixtures</directory>
|
||||||
</exclude>
|
</exclude>
|
||||||
</whitelist>
|
</whitelist>
|
||||||
</filter>
|
</filter>
|
Loading…
Reference in New Issue
Block a user