1 Star 0 Fork 0

imi 开发组 / imi-amqp

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
.travis.yml 2.10 KB
Copy Edit Web IDE Raw Blame History
宇润 authored 2020-08-11 17:29 . 实现 AMQP 队列组件封装 (#1)
dist: bionic
language: php
os: linux
jobs:
include:
- php: '7.4'
env: SWOOLE_VERSION="v4.5.3-beta"
- php: '7.1'
env: SWOOLE_VERSION="v4.5.2"
- php: '7.2'
env: SWOOLE_VERSION="v4.5.2"
- php: '7.3'
env: SWOOLE_VERSION="v4.5.2"
- php: '7.4'
env: SWOOLE_VERSION="v4.5.2"
- php: '7.1'
env: SWOOLE_VERSION="v4.4.19"
- php: '7.2'
env: SWOOLE_VERSION="v4.4.19"
- php: '7.3'
env: SWOOLE_VERSION="v4.4.19"
- php: '7.4'
env: SWOOLE_VERSION="v4.4.19"
- 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 INSTALL_REDIS_EXT=true
allow_failures:
- env: SWOOLE_VERSION="master"
- php: nightly
services:
- redis
addons:
apt:
packages:
- unzip
- rabbitmq-server
install:
- dd if=/dev/zero of=swap bs=1024 count=2048000 && chmod 600 swap && sudo mkswap swap && sudo swapon swap;
- if [[ $INSTALL_REDIS_EXT == true ]]; then
wget https://github.com/phpredis/phpredis/archive/develop.zip;
unzip develop.zip;
cd phpredis-develop;
phpize;
./configure;
make && make install;
cd ../;
fi
- echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.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 --enable-openssl --enable-http2 && make -j && make install && echo "extension = swoole.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini && cd -
before_script:
- if [[ $DISABLE_XDEBUG != false ]]; then
phpenv config-rm xdebug.ini;
fi
- composer update
- php --ri swoole
script:
- composer test
after_failure:
- php ./.travis/output-server-log.php

Comment ( 0 )

Sign in for post a comment

PHP
1
https://gitee.com/imiphp/imi-amqp.git
git@gitee.com:imiphp/imi-amqp.git
imiphp
imi-amqp
imi-amqp
master

Search