0
0
mirror of https://github.com/PHPMailer/PHPMailer.git synced 2024-09-20 01:52:15 +02:00

Clean up travis build stages

This commit is contained in:
Marcus Bointon 2020-10-13 22:19:34 +02:00
parent d5e6f7d2b1
commit 7fde25ae3e
No known key found for this signature in database
GPG Key ID: DE31CD6EB646AA24

View File

@ -17,7 +17,7 @@ before_install:
- sudo apt-get install -y -qq postfix
install:
- composer install
- composer install --no-interaction
- if [ "$CODE_COVERAGE" != 1 ]; then phpenv config-rm xdebug.ini || true; fi
before_script:
@ -31,16 +31,10 @@ before_script:
- sudo cp test/fakesendmail.sh /usr/sbin/sendmail
- echo 'sendmail_path = "/usr/sbin/sendmail -t -i "' > $(php --ini|grep -m 1 "ini files in:"|cut -d ":" -f 2)/sendmail.ini
after_script:
- if [ "$CODE_COVERAGE" = 1 ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
- if [ "$CODE_COVERAGE" = 1 ]; then php ocular.phar code-coverage:upload --format=php-clover ../build/logs/clover.xml; fi
stages:
- coding-standard
- test
- coverage
jobs:
include:
- stage: coding-standard