diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-11-05 12:50:51 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-11-05 12:50:51 +0300 |
commit | a624f5b09f58cd831a825e00b4f683595d6fff16 (patch) | |
tree | 4213c0829161c7a4ac01a123fd5f655ad27b1204 /.travis.yml | |
parent | c66068f9810e6f0620b7446be46f2add54d73163 (diff) |
Add test scripts to composer.json
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 051b3eb30..de76e567c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -97,8 +97,7 @@ script: # - sh -c "if [ '$TEST_JS' = 'TRUE' ]; then cat ./coverage/*/lcov.info | ./node_modules/coveralls/bin/coveralls.js; fi" # Run PHP tests - - cd tests - - ../vendor/bin/phpunit --configuration phpunit.xml --fail-on-warning + - composer run test - 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 |