fix tests

This commit is contained in:
Hendrik Leppelsack 2015-09-16 20:50:33 +02:00
parent 4843d0e2b6
commit a98f183553
2 changed files with 6 additions and 4 deletions

View File

@ -26,10 +26,12 @@ before_install:
- sudo apt-get install firefox
- wget https://raw.githubusercontent.com/owncloud/administration/master/travis-ci/before_install.sh
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB
- cd ../core
- php occ app:enable notes
script:
# Test lint
- cd ../core/apps/$APP_NAME
- cd apps/$APP_NAME
- find . -name \*.php -exec php -l "{}" \;
- phpunit --coverage-clover clover.xml -c phpunit.xml
- phpunit -c phpunit.integration.xml
@ -55,4 +57,4 @@ matrix:
allow_failures:
- php: hhvm
- php: 7
fast_finish: true
fast_finish: true

View File

@ -1,4 +1,4 @@
<phpunit bootstrap="../../lib/base.php"
<phpunit bootstrap="../../tests/bootstrap.php"
verbose="true"
timeoutForSmallTests="900"
timeoutForMediumTests="900"
@ -9,4 +9,4 @@
<directory>./tests/unit</directory>
</testsuite>
</testsuites>
</phpunit>
</phpunit>