diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-11-22 17:19:56 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-11-22 18:07:30 +0300 |
commit | eb833767e863a6d7aeb1f198abe01619a794e057 (patch) | |
tree | 8c5d8630534cdd9b993cb357bf4914d4b23d806f /.travis.yml | |
parent | 8f8fa5113afe4733facbabea81ae10563c84e203 (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.yml | 10 |
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 |