Skip to content

Commit

Permalink
Use composer script in .travis instead of calling tester directly
Browse files Browse the repository at this point in the history
  • Loading branch information
trejjam committed Aug 26, 2018
1 parent 7455098 commit fb5962f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- stage: Code Coverage
php: 7.1
script:
- vendor/bin/tester -p phpdbg tests/cases -s --coverage ./coverage.xml --coverage-src ./src
- composer run-script coverage
after_script:
- wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar
- php coveralls.phar --verbose --config tests/config/.coveralls.yml
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"tester -s -p php --colors 1 -C -d soap.so tests/cases"
],
"coverage": [
"tester -s -p php --colors 1 -C -d soap.so -d extension=xdebug.so --coverage coverage.xml --coverage-src src tests/cases"
"tester -s -p phpdbg --colors 1 -C -d soap.so -d extension=xdebug.so --coverage ./coverage.xml --coverage-src ./src ./tests/cases"
],
"phpstan": [
"phpstan analyse -l max -c tests/config/phpstan.neon src tests/cases"
Expand Down

0 comments on commit fb5962f

Please sign in to comment.