代码拉取完成,页面将自动刷新
dist: xenial
language: php
matrix:
fast_finish: true
include:
- php: 7.1
- php: 7.2
- php: 7.3
cache:
directories:
- $HOME/.composer/cache
services:
- memcached
- redis-server
- mysql
before_install:
- echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- printf "\n" | pecl install -f redis
- travis_retry composer self-update
- mysql -e 'CREATE DATABASE test;'
install:
- travis_retry composer update --prefer-dist --no-interaction --prefer-stable --no-suggest
script:
- vendor/bin/phpunit --coverage-clover build/logs/coverage.xml
after_script:
- travis_retry wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/logs/coverage.xml
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。