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

wbkfzwk / SMProxy
暂停

forked from louislivi / SMProxy 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 986 Bytes
一键复制 编辑 原始数据 按行查看 历史
louislivi 提交于 2019-05-24 10:56 . Fix dist version
language: php
dist: trusty
matrix:
include:
- php: 7.0
- php: 7.1
- php: 7.2
- php: 7.2
env: LINT=true
- php: 7.2
env: PHAR=true
addons:
apt:
sources:
- mysql-5.7-trusty
packages:
- mysql-server
- mysql-client
install:
- printf "\n" | pecl install -f swoole-4.2.8
before_script:
- phpenv config-rm xdebug.ini
- sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('123456') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
- sudo mysql_upgrade -u root -p123456
- sudo service mysql restart
- composer install --no-dev
- php -v
- php -m
script:
- |
if [[ $LINT != "" ]]; then
composer install --dev
vendor/bin/phpcs
elif [[ $PHAR != "" ]]; then
composer install --dev
vendor/bin/box compile
./SMProxy.phar start -c tests/conf
php tests/test.php
else
tests/run
php tests/test.php
fi
PHP
1
https://gitee.com/wbkfzwk/smproxy.git
git@gitee.com:wbkfzwk/smproxy.git
wbkfzwk
smproxy
SMProxy
master

搜索帮助