1 Star 2 Fork 2

imi 开发组/imi-jwt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.54 KB
一键复制 编辑 原始数据 按行查看 历史
宇润 提交于 2020-01-02 11:22 . 修复 travis
sudo: required
language: php
dist: bionic
matrix:
include:
- php: '7.1'
env: SWOOLE_VERSION="v4.3.6"
- php: '7.2'
env: SWOOLE_VERSION="v4.3.6"
- php: '7.3'
env: SWOOLE_VERSION="v4.3.6"
- php: '7.1'
env: SWOOLE_VERSION="master"
- php: '7.2'
env: SWOOLE_VERSION="master"
- php: '7.3'
env: SWOOLE_VERSION="master"
- php: '7.4'
env: SWOOLE_VERSION="master"
- php: 'nightly'
env: SWOOLE_VERSION="master" DISABLE_XDEBUG=false
- php: '7.1'
env: SWOOLE_VERSION="v4.4.14"
- php: '7.2'
env: SWOOLE_VERSION="v4.4.14"
- php: '7.3'
env: SWOOLE_VERSION="v4.4.14"
- php: '7.4'
env: SWOOLE_VERSION="v4.4.14"
allow_failures:
- env: SWOOLE_VERSION="master"
- php: nightly
addons:
apt:
packages:
- unzip
install:
- 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 --enable-openssl --enable-http2 && make -j && make install && cd -
- echo "extension = swoole.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
before_script:
- if [[ $DISABLE_XDEBUG != false ]]; then
phpenv config-rm xdebug.ini;
fi
- curl -sSfL -o ~/.phpenv/versions/$(phpenv version-name)/bin/phpunit https://phar.phpunit.de/phpunit-7.phar
- export TEST_PHPUNIT_PATH=~/.phpenv/versions/$(phpenv version-name)/bin/phpunit
- php ./.travis/composer-no-phpunit.php
- composer update
- php --ri swoole
script:
- ./tests/run
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/imiphp/imi-jwt.git
git@gitee.com:imiphp/imi-jwt.git
imiphp
imi-jwt
imi-jwt
master

搜索帮助