代码拉取完成,页面将自动刷新
同步操作将从 hunzhiwange/QueryPHP 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
language: php
env:
global:
- MIN_PHP=7.4snapshot
- setup=stable
matrix:
include:
- php: 7.4
env: swoole_version="master"
- php: 7.4
env: test_coverage=true setup=lowest swoole_version="v4.5.2"
fast_finish: true
sudo: false
cache:
directories:
- $HOME/.composer/cache
services:
- redis-server
- mysql
before_install:
- mysql -e "create database IF NOT EXISTS test;" -uroot
- phpenv config-add build/redis.ini
- wget https://github.com/swoole/swoole-src/archive/$swoole_version.tar.gz -O swoole.tar.gz && mkdir -p swoole && tar -xf swoole.tar.gz -C swoole --strip-components=1 && rm swoole.tar.gz && cd swoole && phpize && ./configure && make -j$(nproc) && make install && cd - && rm -rf swoole
- echo "extension = swoole.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- travis_retry composer self-update
- if [[ $test_coverage != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
install:
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable --no-suggest; fi
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable --no-suggest; fi
# Some debug info is located here
- ls -al `$(phpenv which php-config) --extension-dir`
- $(phpenv which php) -v
- $(phpenv which php) -m
script:
- mkdir -p logs
- mkdir -p build/logs
- mkdir -p runtime/tests
- cp .env.phpunit.example .env.phpunit
- cp .env.example .env
- php leevel migrate:migrate -e env.phpunit
- php vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover build/logs/clover.xml
after_success:
- if [[ $test_coverage == 'true' ]]; then travis_retry php vendor/bin/php-coveralls -v; fi
notifications:
email: false
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。