File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 88env :
99 global :
1010 - 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)
11- - PHP_MAJOR_VERSION=$(php -r 'echo PHP_MAJOR_VERSION;')
1211allow_failures :
1312 php : nightly
1413cache :
@@ -19,8 +18,7 @@ before_script:
1918 - chmod +x ./cc-test-reporter
2019 - ./cc-test-reporter before-build
2120install :
22- - echo $PHP_MAJOR_VERSION
23- - if [ "$PHP_MAJOR_VERSION" == "8" ]; then composer install --ignore-platform-reqs; else composer install; fi
21+ - if [ $(php -r 'echo PHP_MAJOR_VERSION;') == "8" ]; then composer install --ignore-platform-reqs; else composer install; fi
2422script :
2523 - vendor/bin/phpunit tests --coverage-clover clover.xml --whitelist src
2624after_script :
You can’t perform that action at this time.
0 commit comments