115 Unstar Star 498 Fork 111

GVPswoft / swoftPHP

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
.travis.yml 847 Bytes
Copy Edit Web IDE Raw Blame History
inhere authored 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

Comment ( 0 )

Sign in for post a comment

PHP
1
https://gitee.com/swoft/swoft.git
git@gitee.com:swoft/swoft.git
swoft
swoft
swoft
master

Search

131423 f1aaba0b 1899542 094922 1c74bed3 1899542