Server : Apache System : Linux profile 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64 User : apache ( 48) PHP Version : 8.0.28 Disable Function : NONE Directory : /var/www/html/mmishra/erp19-7-2019/mpdf/ |
language: php
dist: trusty
group: edge
php:
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- nightly
matrix:
include:
- env: LINT=1
php: 7.1
#- env: COVERAGE=1
# php: 7.1
allow_failures:
- php: nightly
install:
- composer self-update
- |
if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.3" ]]; then
composer install --ignore-platform-reqs
elif [[ ${TRAVIS_PHP_VERSION:0:3} == "7.4" ]]; then
composer install --ignore-platform-reqs
else
composer install
fi
script:
- |
if [[ "$LINT" == "1" ]]; then
./vendor/bin/phpcs -v --report-width=160 --standard=ruleset.xml --severity=1 --warning-severity=0 --extensions=php src utils tests
elif [[ "$COVERAGE" == "1" ]]; then
vendor/bin/phpunit --coverage-text
else
vendor/bin/phpunit
fi
notifications:
email: change