File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ env :
2+ global :
3+ - CC_TEST_REPORTER_ID=300652b345e59425b0203fd817ea93f39a436ef531b5731f0378b5ec3c755d33
4+ - GIT_COMMITTED_AT=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then git log -1 --pretty=format:%ct; else git log -1 --skip 1 --pretty=format:%ct; fi)
5+ language : php
6+ php :
7+ - ' 7.4'
8+
9+ before_script :
10+ - composer self-update
11+ - composer install --prefer-source --no-interaction --dev
12+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
13+ - chmod +x ./cc-test-reporter
14+ - ./cc-test-reporter before-build
15+
16+ script :
17+ - composer phpunit_clover
18+ - composer phpstan
19+ - composer psalm
20+ - composer phpcs
21+ - if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./cc-test-reporter after-build -t clover --exit-code $TRAVIS_TEST_RESULT; fi
22+
23+ notifications :
24+ email : false
Original file line number Diff line number Diff line change 11{
22 "require" : {
3- "phpunit/phpunit" : " ^8.4 "
3+ "phpunit/phpunit" : " ^9.0 "
44 }
55}
You can’t perform that action at this time.
0 commit comments