File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,9 @@ before_script:
3737 - mysql -u root -e 'create database telegrambot; use telegrambot; source ./vendor/longman/telegram-bot/structure.sql;'
3838
3939script :
40- - if [[ "$COVERAGE" == "1" ]] ; then composer test-cov; fi
41- - if [[ "$COVERAGE" != "1" ]] ; then composer test; fi
40+ - composer check-code
41+ - if [[ "$COVERAGE" == "1" ]] ; then composer test-cov-live; fi
42+ - if [[ "$COVERAGE" != "1" ]] ; then composer test-live; fi
4243
4344after_success :
4445 - if [[ "$COVERAGE" == "1" ]]; then bash <(curl -s https://codecov.io/bash); fi
Original file line number Diff line number Diff line change 3636 }
3737 },
3838 "scripts" : {
39+ "check-code" : [
40+ " parallel-lint . --exclude vendor"
41+ ],
3942 "test" : [
40- " parallel-lint . --exclude vendor" ,
43+ " phpunit --exclude-group live"
44+ ],
45+ "test-live" : [
4146 " phpunit"
4247 ],
4348 "test-cov" : [
44- " parallel-lint . --exclude vendor" ,
49+ " phpunit --coverage-clover=coverage.xml --exclude-group live"
50+ ],
51+ "test-cov-live" : [
4552 " phpunit --coverage-clover=coverage.xml"
4653 ]
4754 }
You can’t perform that action at this time.
0 commit comments