Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-11-22 17:19:56 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-11-22 18:07:30 +0300
commiteb833767e863a6d7aeb1f198abe01619a794e057 (patch)
tree8c5d8630534cdd9b993cb357bf4914d4b23d806f /.travis.yml
parent8f8fa5113afe4733facbabea81ae10563c84e203 (diff)
Move unit tests to tests/Unit
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 35c042754..0320cc13b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -128,11 +128,11 @@ script:
- sh -c "if [ '$TEST_SUITE' = 'TEST-JS' ]; then npm run lint; fi"
# Run PHP tests
- - sh -c "if [ '$TEST_SUITE' = 'TEST-PHP' ]; then composer run test; fi"
- - if [[ "$PHP_COVERAGE" = "TRUE" ]]; then wget https://scrutinizer-ci.com/ocular.phar;
- fi
- - if [[ "$PHP_COVERAGE" = "TRUE" ]]; then php ocular.phar code-coverage:upload --format=php-clover
- tests/clover.xml; fi
+ - sh -c "if [ '$TEST_SUITE' = 'TEST-PHP' ]; then composer test:unit; fi"
+ - sh -c "if [ '$TEST_SUITE' = 'TEST-PHP' ]; then composer test:integration; fi"
+ - if [[ "$PHP_COVERAGE" = "TRUE" ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
+ - if [[ "$PHP_COVERAGE" = "TRUE" ]]; then php ocular.phar code-coverage:upload --format=php-clover tests/clover.unit.xml; fi
+ - if [[ "$PHP_COVERAGE" = "TRUE" ]]; then php ocular.phar code-coverage:upload --format=php-clover tests/clover.integration.xml; fi
# Test packaging
- if [[ "$TEST_SUITE" = "PACKAGE" ]]; then make appstore; fi