当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
1 Star 0 Fork 132

冲击 / swoft
暂停

forked from swoft / swoft 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 847 Bytes
一键复制 编辑 原始数据 按行查看 历史
inhere 提交于 2019-09-23 20:21 . fix ci error
language: php
php:
- 7.1
- 7.2
- 7.3
services:
- redis
install:
- |
echo "no" | pecl install -f redis
- |
wget https://github.com/swoole/swoole-src/archive/v4.4.6.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
- |
wget -O bin/php-cs-fixer "https://cs.symfony.com/download/php-cs-fixer-v2.phar"
chmod +x bin/php-cs-fixer
before_script:
- phpenv config-rm xdebug.ini
- composer config -g process-timeout 900 && composer update
- composer require --dev phpstan/phpstan-shim
script:
- composer cs-fix
- composer test
# - php bin/swoft dinfo:env
PHP
1
https://gitee.com/1273640670/swoft.git
git@gitee.com:1273640670/swoft.git
1273640670
swoft
swoft
master

搜索帮助